• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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