<div dir="ltr">

<div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;text-align:left;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi logback folks,</span></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;text-align:left;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><span style="text-decoration-style:initial;text-decoration-color:initial;color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;text-align:left;float:none;display:inline">I see one application log goes over the limit specified in logback.xml file intermittently (maxFileSize=300MB, minIndex=1, MaxIndex =10). It happens to the first log and then it stabilizes with sub-sequence files. Has anyone seen this issue before? Any ideas why this happens?</span><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span><br style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Snippet from logback.xml:</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div> <appender name="NEW-APPENDER-FOR-JETTY" class="ch.qos.logback.core.<wbr>rolling.RollingFileAppender"></div><div>    <file>../log/jetty_ERR_WARN.<wbr>log</file></div><div>    <rollingPolicy class="ch.qos.logback.core.<wbr>rolling.<wbr>FixedWindowRollingPolicy"></div><div>        <fileNamePattern>../log/jetty_<wbr>ERR_WARN_%i.log</<wbr>fileNamePattern></div><div>        <minIndex>1</minIndex></div><div>        <maxIndex>3</maxIndex></div><div>    </rollingPolicy></div><div>    <triggeringPolicy class="ch.qos.logback.core.<wbr>rolling.<wbr>SizeBasedTriggeringPolicy"></div><div>        <maxFileSize>200KB</<wbr>maxFileSize></div><div>    </triggeringPolicy></div><div>    <encoder></div><div>        <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level [%thread] %logger{36} - %msg%n</pattern></div><div>    </encoder></div><div></appender></div><div>  </div><div><logger name="org.eclipse.jetty" additivity="false"> ​<!--additivity makes sure its using only this appender and not other parent appenders-->​</div><div>    <level value="WARN" />  <!-- Will include warn and error logs --></div><div>    <appender-ref ref="NEW-APPENDER-FOR-JETTY"/><wbr>   </div><div></logger> </div><div><br></div><div>Thanks,</div><div>Nazila</div><div class="gmail-yj6qo"></div><div class="gmail-adL"> </div></div>

<br></div>