• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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