• 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.

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