Maintaing httpd logs

Just add something for newsyslog(8). Something like this:

Code:
# cat /usr/local/etc/newsyslog.conf.d/apache.conf
# Apache
/var/log/httpd-access.log               644  14     *    @T00  B     /var/run/httpd.pid 30
/var/log/httpd-error.log                644  14     *    @T00  B     /var/run/httpd.pid 30
 
Back
Top