<div dir="ltr"><div>Have you checked logback status data?<br></div>You could turn on writing it to console by <configuration debug="true"> as in <a href="https://logback.qos.ch/manual/configuration.html#dumpingStatusData">https://logback.qos.ch/manual/configuration.html#dumpingStatusData</a><div>If it has problems with renaming or compression, e.g. caused by relative base name of # in target name, it should be in status.</div><div>And compression is done asyncronously which means, in addition to it being harder to read status logs, what it is not counted as failure if something wrong there.</div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-01 11:46 GMT+03:00 fengqiang <span dir="ltr"><<a href="mailto:fengqiang@mwi.com.sg" target="_blank">fengqiang@mwi.com.sg</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello  we are using logback for our server.  one issue keeps on happening for<br>
more than one year. We are using TimeBasedRollingPolicy, the logback works<br>
well when server starts and the log rolls according to size and date<br>
correctly. However it stops rolling after running for some time (1 or 2<br>
weeks) and the log file become extremely huge, 1 or 2 GB.  Recently I found<br>
it started when we copied logs from the server, then the rolling stop, the<br>
size of all the log files in the folder increase without stop.  my logback<br>
configuration is as follows:<br>
<configuration  scan="true" scanPeriod="300 seconds"><br>
<br>
        <appender name="DATAMGR_FILE"<br>
class="ch.qos.logback.core.<wbr>rolling.RollingFileAppender"><br>
                <file>../log/datamgr.log</<wbr>file><br>
<br>
                <rollingPolicy class="ch.qos.logback.core.<wbr>rolling.<wbr>TimeBasedRollingPolicy"><br>
<br>
<FileNamePattern>../log/%d{<wbr>yyyy-MM-dd,aux}/#%i.datamgr.%<wbr>d{yyyy-MM-dd}.log.zip</<wbr>FileNamePattern><br>
                  <maxHistory>60</maxHistory><br>
                  <<wbr>timeBasedFileNamingAndTriggeri<wbr>ngPolicy<br>
class="ch.qos.logback.core.<wbr>rolling.SizeAndTimeBasedFNATP"<wbr>><br>
                        <maxFileSize>5MB</maxFileSize><br>
                  </<wbr>timeBasedFileNamingAndTriggeri<wbr>ngPolicy><br>
                  <cleanHistoryOnStart>true</<wbr>cleanHistoryOnStart><br>
                </rollingPolicy><br>
<br>
                <layout class="ch.qos.logback.classic.<wbr>PatternLayout"><br>
                  <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS}; [%thread]; %-5level;<br>
%class{30}.%method:%line; %msg%n</Pattern><br>
                </layout><br>
        </appender><br>
<br>
         <logger name="com.mwi.cad.datamgr" level="info"  additivity="false"><br>
                <appender-ref ref="DATAMGR_FILE" /><br>
         </logger><br>
</configuration><br>
<br>
Anybody could give me some idea what I should do to solve this problem.  Is<br>
there any work around I can do? any enlightenment would be greatly<br>
appreciated!<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://logback.10977.n7.nabble.com/Users-f3.html" rel="noreferrer" target="_blank">http://logback.10977.n7.<wbr>nabble.com/Users-f3.html</a><br>
______________________________<wbr>_________________<br>
logback-user mailing list<br>
<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" rel="noreferrer" target="_blank">http://mailman.qos.ch/mailman/<wbr>listinfo/logback-user</a></blockquote></div><br></div>