Subject: | It's buggy |
1) take tons of CPU cicle to log ( 2x the Appender File )
2) under heavy load there are multiple rotations:
-rw-r--r-- 1 jmr jmr 870255847 May 9 08:51 d..c_all.log
-rw-r--r-- 1 jmr jmr 10201 May 8 23:59 d..c_all.log.1 <--
-rw-r--r-- 1 jmr jmr 10908 May 8 23:59 d..c_all.log.2 <--
-rw-rwxr--+ 1 jmr jmr 2047950874 May 9 08:49 d..c_all.log.3
log4perl.appender.LALL1 = Log::Dispatch::FileRotate
log4perl.appender.LALL1.DatePattern = 0:0:0:1*23:59:59
log4perl.appender.LALL1.TZ = UTC
log4perl.appender.LALL1.max = 9
log4perl.appender.LALL1.filename = /logs/.../d..c_all.log
log4perl.appender.LALL1.umask = 0033
log4perl.appender.LALL1.mode = append
log4perl.appender.LALL1.layout =
Log::Log4perl::Layout::PatternLayout::Multiline
log4perl.appender.LALL1.layout.ConversionPattern = %d{yyyy-MM-dd
HH:mm:ss} %H APIDM[%P]: [%X{apiuser} %X{msisdn}] %m %n
Please have a look.
Logging runs at 60K/70K / sec