How to set access-logs files from /usr/local/apache/domlogs to be daily archived
Hi,
can you please tell me hot to set access log files to be daily archived.
I have access-logs in:
/usr/local/apache/domlogs/WEBSITENAME/websitename.com
And I see that this access log keep log only for one day. How can I set that log files can be archived every day?
I look in /etc/logrotate.d and I dont see there file with name "apache".
How I can set this via cPanel or via shell, no matter
-
in cPanel-> Logs-> Raw Access Log: "Archive logs in your home directory at the end of each stats run[ [every 24 hour(s)~]] " 0 -
Hello :) You will find documentation on this at: cPanel - Raw Access Logs Thank you. 0
Please sign in to leave a comment.
Comments
2 comments