<div dir="ltr">Hi all,<div><br></div><div>I have my rollingFileAppender configured as follows:</div><div><br></div><div>appender("myAppender", RollingFileAppender) {<br>    file = "${logDir}/myApp.log"<br>    encoder(PatternLayoutEncoder) {<br>      charset = Charset.forName('UTF-8')<br>      pattern = log_pattern<br>    }<br>    rollingPolicy(FixedWindowRollingPolicy) {<br>      fileNamePattern = "${logDir}/myApp%i.log"<br>      minIndex = 1<br>      maxIndex = 24<br>    }<br>    triggeringPolicy(SizeBasedTriggeringPolicy) {<br>      maxFileSize = FileSize.valueOf("200KB")    <br>    }<br>  }<br></div><div><br></div><div>I had first the maxIndex = 20, i modified it to 24 and I'm testing. As I see the number of logs are 21 and rotating while it should be 24! I tested it a lot and still the same issue. Anybody has this issue before or knows why this is happening?</div><div><br></div><div>Thanks in advance,</div><div>Joud</div></div>