/usr/local/apache/domlogs/ where to set frequency of prunning/emptying?

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hello,

it seems logfiles in /usr/local/apache/domlogs/ shows only current day log entries, i would like to see longer term.

Where can i please define longer term for prunning/emptying these log files?

Thank you
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :),

If you want to keep your log files then you need to check following setting in WHM >> Server Configuration » Tweak Settings >> Stats and Logs

"Keep monthly log files"
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

You can increase the log processing frequency for web statistics via "WHM Home » Server Configuration » Statistics Software Configuration". This will retain the Apache domain access logs for longer periods, but also result in delayed statistic processing for your users. Additional options available under the "Stats and Logs" tab in "WHM >> Tweak Settings" include:

Delete each domain’s access logs after statistics are gathered
Archive logs in the user's home directory at the end of each stats run unless configured by the user.


Thank you.