modsecurity log rotation

2011-09-27
2013-06-12
  • Amir Fadaghi
    Amir Fadaghi
    2011-09-27

    Hi all,

    I am in need of configuring my apache to rotate the modsecurity logs on a daily basis.  I have this entry
    CustomLog    "|/app/apache/bin/rotatelogs /app/apache/logs/modsec_audit1.log.%m%d%y 86400" combined
    in my httpd.conf but, is not working due to the following
    SecAuditLog /app/apache/logs/modsec_audit1.log
    line for modsecurity section.  Any help would grately be appreciated.