• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved modsec_audit.log is empty

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.
 
Now I deleted
/etc/logrotate.d/mod_security
and the logrotation still works (I'm confused!)
but the modsec_audit.log is still empty (day by day)
 
Back
Top