Hi
We use logback 0.9.18 and SLF4J 1.5.10. After monthly log rotation we noticed that
new log entries were being appended both to the newly created file and also to the rotated file of the previous
month. Is this a known issue? Below is the config snippet.
Regards,
Silvano
<appender name="XML" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>${viperats.logdir}txplugin.xml.log</File>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d{yyyy-MM-dd HH:mm:ss}%n%msg------------------------------------------------%n</pattern>
</layout>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<FileNamePattern>${viperats.logdir}/txplugin.xml.log-%d{yyyy-MM}</FileNamePattern>
</rollingPolicy>
<Append>true</Append>
</appender>