How to set access-logs files from /usr/local/apache/domlogs to be daily archived

nicolass

Member
Jan 22, 2012
5
0
51
cPanel Access Level
Website Owner
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