[solved] domlog

#1
Hi,
I am having problems with our domlog filling up our disk.

The domlog for our largest domain on our server is producing 2Gb domlog files each day.
After a few days our server is reaching maximum disk capacity due to these files. I have to manually delete them every couple days.

I don't know where to set the domlog rotation details.

In litespeed admin > server > log > keep days
I have set it to 1, so that it only keeps one day.

And then I restarted litespeed. But that didn't make any difference.

Is there somewhere else I need to change this? We are running WHM/cpanel too.
 
Last edited by a moderator:

NiteWave

Administrator
#2
since your are running WHM/cpanel, apache's httpd.conf is read and parsed.
In litespeed admin > server > log > keep days
won't work in this case.

please google "apache log rotation" for solution, and I believe cPanel has good solution for it.
 
#4
In httpd.conf I commented out the lines that wrote the domlogs.
I then restarted apache and litespeed to see if httpd.conf would get overwritten but it didn't. And the domlogs aren't being written to.
 
Top