<div dir="ltr">Hi,<br><br>I have created following appender in logback.xml file. The
log files are getting created but the logs are not rolling over. It is
on 2012 server with tomcat.<br><br> <appender name="DEFAULT_APPENDER" class="ch.qos.logback.core.<div dir="ltr">rolling.RollingFileAppender"><br><br> <file>${APP_HOME}/logs/App.log</file><br> <encoder> <br> <pattern>%-5level %d{MM/dd HH:mm:ss.SSS} [%thread] %logger{20} %msg%n</pattern><br> </encoder><br><br> <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"><br> <fileNamePattern>${APP_HOME}/logs/App.log.%i</fileNamePattern><br> <minIndex>1</minIndex><br> <maxIndex>5</maxIndex><br> </rollingPolicy><br><br> <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"><br> <maxFileSize>5MB</maxFileSize><br> </triggeringPolicy><br><br>But with below option ,<br><br><fileNamePattern> ${APP_HOME}/logs/App.log.%i.zip </fileNamePattern><br><br>With zip option for rolling the there are 5 log zip files are created but all of them has same data. The actual log is growing.<br><br>Please let me know what may be the issue.<br><br>Thanks<div><div><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif">Sasi</div></div></div></div>