• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

mod_security log empty after logrotate

moswak

Regular Pleskian
I have several servers with plesk modsecurity, all servers have the same config.
All servers have the same /etc/logrotate.d/mod_security

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

On two servers the modsec_audit.log always empty after logrotate
What can be the problem ?
 
it is enabled.
when i do a reload of apache the log was filled again.
i will check tomorrow after the logrotate if it is disabled.
but I can not imagine why it should be disabled overnight ?
 
Back
Top