Web access-logs time limits
Can I config cpanel to only keep a weeks worth of web logs? /usr/local/apache/logs/domlogs is piling up. I want them but not for a long time. I just want a week of ongoing logs.
-
Hey there! Can you be a bit more descriptive when you say "piling up?" There shouldn't be more than one log file for each domain in /etc/apache2/logs/domlogs and that file typically only has one day's worth of logs in there due to the option in WHM >> Tweak Settings >> "Delete each domain’s access logs after statistics are gathered"
If your directory looks different I'd like to know about it before I recommend any changes.
0 -
Yes, I enabled that and it seems to be keeping the files smaller now. Thanks.
0 -
Great to hear - I'm glad that's all it took!
0
Please sign in to leave a comment.
Comments
3 comments