DieterWerner
Regular Pleskian
I created the file:
/etc/logrotate.d/mod_security
/var/log/modsec_audit.log {
daily
rotate 7
missingok
compress
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
and the rotation works but the modsec_audit.log is allways empty now.
so I need some help.
/etc/logrotate.d/mod_security
/var/log/modsec_audit.log {
daily
rotate 7
missingok
compress
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
and the rotation works but the modsec_audit.log is allways empty now.
so I need some help.