• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Logrotate for modsecurity

AndreasI

New Pleskian
I want to create logrotate in logrotate.d for modsecurity log.

i find following code, but it dont works.

Code:
/var/log/modsec_audit.log {
    rotate 7
    compress
    missingok
    notifempty
    sharedscripts
    postrotate
        /sbin/service httpd reload > /dev/null 2>/dev/null || true
    endscript
}

who can help me.
 
Back
Top