<div dir="ltr">it is happening only if the TimeBasedRollingPolicy is triggered and not the size.<div><br></div><div>the config:</div><div><br></div><div><div> <appender name="SmaServerDebug" class="ch.qos.logback.core.rolling.RollingFileAppender"></div>
<div>        <file>${MAIN_LOGGING_DIR}/sma_debug.log</file></div><div>        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div><div>            <!-- Hourly rollover, with size limit --></div>
<div>            <fileNamePattern>${ARCHIVE_LOGGING_DIR}/sma_debug_%d{yyyyMMdd_HH}.%i.log.gz</fileNamePattern></div><div>            <!-- keep 24 hours' worth of history --></div><div>            <maxHistory>24</maxHistory></div>
<div>            <cleanHistoryOnStart>true</cleanHistoryOnStart></div><div>            <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"></div><div>
                <!-- or whenever the file size reaches 100MB --></div><div>                <maxFileSize>100MB</maxFileSize></div><div>            </timeBasedFileNamingAndTriggeringPolicy></div><div>
        </rollingPolicy></div><div>        <encoder></div><div>            <pattern>[%X{tenant}] %d %p [%t] %logger{36} - %m%n%xEx</pattern></div><div>        </encoder></div><div>    </appender></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 6:16 PM, Amit Mohan <span dir="ltr"><<a href="mailto:amit.mohan@teamaol.com" target="_blank">amit.mohan@teamaol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hm...I am seeing this happening only if the file size is too big
    like in GBs. For smaller files I don't see any tmp files.<br>
    <br>
    -Amit<div class="im"><br>
    <br>
    <div>On 10/7/2013 11:04 AM, ofer lilian
      wrote:<br>
    </div>
    </div><blockquote type="cite"><div class="im">
      
      <div dir="ltr"><a href="http://jira.qos.ch/browse/LOGBACK-173" target="_blank">http://jira.qos.ch/browse/LOGBACK-173</a><br>
        <div><br>
        </div>
        <div>is there any progress with this bug fix ? </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div><pre>_______________________________________________
Logback-user mailing list
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<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" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>