Resolved Logfile rotation

DieterWerner

Regular Pleskian
How can I manage serverwide rotation of:

/var/log/httpd/audit_log
/var/log/httpd/modsec_audit.log
/var/log/httpd/modsec_debug.log
/var/log/httpd/ssl_access_log
/var/log/httpd//ssl_error_log
/var/log/httpd/ssl_request_log
 
You can edit the content of the /etc/logrotate.conf file, e.g. if you want to set different rotation intervals, or the content of individual service configuration files in /etc/logrotate.d. It all depends on what you want to do.
 
You can edit the content of the /etc/logrotate.conf file, e.g. if you want to set different rotation intervals, or the content of individual service configuration files in /etc/logrotate.d. It all depends on what you want to do.
OK - I added some logfiles to /etc/logrotate.conf and it seems to work.
Thanks!
 
Back
Top