Clearing old logs from /usr/local/apache/domlogs ?

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
On most of our cPanel servers, we've got very old log files lingering for accounts that have long been removed, in this directory:

/usr/local/apache/domlogs

Is there a way to have cPanel rotate these out? Or is there a handy script to use that will achieve the same effect?

Thanks much.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

Make sure that stats is configured to run on your server(Main >> Server Configuration >> Statistics Software Configuration), if you configure this it will rotate the log files after updating the stats for each domain.

If its already done, check log files for any errors.

Thank you.