For our regular apache error log, in httpd.conf we have:
ErrorLog "|/apache242/bin/rotatelogs /httpd/logs/error_log.%Y-%m-%d 1M"
and we get logs like this:
-rw-rw-r-- 1 iii iii 215655573 Aug 20 16:59 error_log.2012-08-20
-rw-rw-r-- 1 iii iii 188482769 Aug 21 14:59 error_log.2012-08-21
-rw-rw-r-- 1 iii iii 72593320 Aug 22 16:41 error_log.2012-08-22
I've tried to implement something similar for SecDebugLog and SecAuditLog, but the use of rotatelogs here appears to be not supported. Has anybody already worked out a solution to get one log file per day, without restarting apache? Many thanks for any thoughts/ideas/suggestions you may have.