/conf/logrotate.d/httpd |
---|
0,0 → 1,27 |
/var/log/httpd/access_log /var/log/httpd/ssl_access_log{ |
rotate 12 |
monthly |
dateext |
missingok |
notifempty |
compress |
prerotate |
/etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 |
endscript |
postrotate |
/etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 |
endscript |
} |
/var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex /var/log/httpd/error_ /var/log/httpd/ssl_request_log { |
rotate 4 |
monthly |
missingok |
notifempty |
compress |
prerotate |
/etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 |
endscript |
postrotate |
/etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 |
endscript |
} |