Plesk: ModSecurity: How to rotate /var/log/modsec_audit.log

As did not rotate the logs, needed to set it manually.

/etc/logrotate.d/mod_security:
/var/log/modsec_audit.log {
  weekly
  rotate 12
  missingok
  compress
  postrotate
    /sbin/service httpd reload > /dev/null 2>/dev/null || true
  endscript
}



References


Update