• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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