Check in the folder /etc/logrotate.d for any apache files. You might have to change the path to the log files.

/etc/logrotate.d/


…did not contain an entry for apache. So, I created a file called "apache" and am about to put the following into it (composed by using the example in man logrotate.

/usr/local/apache/logs/access_log /usr/local/apache/error_log / { {
           rotate 5
           size=100k
           sharedscripts
           postrotate
                                     /sbin/killall -HUP httpd
           endscript
       }


Any advice or recommendations? Is that sufficient?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to