• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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