Hi,<div><br></div><div>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?</div>
<div><br></div><div>Message:</div><div>00:02:18,709 |-WARN in ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover@3640c655 - Unexpected periodsElapsed value 0<br></div><div><br></div><div>Our appender config:</div>
<div><div><span class="" style="white-space:pre"> </span><appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"></div><div><span class="" style="white-space:pre"> </span><rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div>
<div><span class="" style="white-space:pre"> </span><fileNamePattern>${basedir:-.}/../logs/foo-${artifact}.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern></div><div><span class="" style="white-space:pre"> </span><timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"></div>
<div><span class="" style="white-space:pre"> </span><maxFileSize>100MB</maxFileSize></div><div><span class="" style="white-space:pre"> </span></timeBasedFileNamingAndTriggeringPolicy></div><div><span class="" style="white-space:pre"> </span><maxHistory>60</maxHistory></div>
<div><span class="" style="white-space:pre"> </span></rollingPolicy></div><div><br></div><div><span class="" style="white-space:pre"> </span><encoder></div><div><span class="" style="white-space:pre"> </span><pattern>%d{HH:mm:ss.SSS} [%property{hostname}] [%thread] [%X{auth_kontoid} %X{logid}] %-5level %logger{36} - %msg%n</pattern></div>
<div><span class="" style="white-space:pre"> </span></encoder></div><div><span class="" style="white-space:pre"> </span></appender></div></div><div><br></div><div>Thanks,</div><div>Henning</div>