File: //etc/logrotate.d/modsecurity
/var/log/modsec/audit/mlogc-error.log {
missingok
compress
size 10M
notifempty
daily
rotate 5
create 0750 root root
}
/var/log/modsec/audit/mlogc-queue.log {
missingok
compress
size 500k
notifempty
daily
rotate 2
create 0640 root root
}
/var/log/modsec/audit/mlogc-transaction.log {
missingok
compress
size 100M
notifempty
daily
rotate 2
create 0750 root root
}
/var/log/modsec/debug.log {
missingok
compress
size 100M
notifempty
daily
rotate 2
create 0750 root root
}