[logback-user] SizeAndTimeBasedArchiveRemover - Unexpected periodsElapsed value 0
Henning Juva
henning.juva at gmail.com
Thu Nov 1 10:08:49 CET 2012
Hi,
We currently experience a Warning logged in our stderrout log each time our
application log rolls over. I think this has started after an upgrade of
logback a while back. I can't find much info about what the problem might
be in the forum or by googling. Anyone have an idea what the issue might be?
Message:
00:02:18,709 |-WARN in
ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover at 3640c655-
Unexpected periodsElapsed value 0
Our appender config:
<appender name="FILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${basedir:-.}/../logs/foo-${artifact}.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>60</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%property{hostname}] [%thread] [%X{auth_kontoid}
%X{logid}] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
Thanks,
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20121101/25a2b7a9/attachment.html>
More information about the Logback-user
mailing list