<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Is it mentioned in the links Gena supplied?<br><br>David</div><div><br>On 12 Aug 2014, at 19:51, Dessie K <<a href="mailto:desmond.kirrane@gmail.com">desmond.kirrane@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Thanks,<div><br></div><div>Is there a reason max is set to 20. Is there a performance impact or other reason 20 was chosen?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 4:49 PM, Gena Makhomed <span dir="ltr"><<a href="mailto:gmm@csdoc.com" target="_blank">gmm@csdoc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12.08.2014 18:16, Dessie K wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to have a large window size 200.<br>
<br>
But noticed it is fixed to max 20:<br>
<br>
<a href="https://github.com/qos-ch/logback/blob/master/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java" target="_blank">https://github.com/qos-ch/<u></u>logback/blob/master/logback-<u></u>core/src/main/java/ch/qos/<u></u>logback/core/rolling/<u></u>FixedWindowRollingPolicy.java</a><br>

<br>
Why is 20 the max?<br>
An is there anyway to force it to use a larger window size?<br>
</blockquote>
<br></div></div>
subclasses can override it:<br>
<br>
<a href="https://github.com/qos-ch/logback/blob/master/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java" target="_blank">https://github.com/qos-ch/<u></u>logback/blob/master/logback-<u></u>core/src/main/java/ch/qos/<u></u>logback/core/rolling/<u></u>FixedWindowRollingPolicy.java</a><br>

<br>
/**<br>
   * Subclasses can override this method to increase the max window size, if required.  This is to<br>
   * address LOGBACK-266.<br>
   * @return<br>
   */<br>
  protected int getMaxWindowSize() {<br>
    return MAX_WINDOW_SIZE;<br>
  }<br>
<br>
or probably you just need<br>
<a href="http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedFNATP" target="_blank">http://logback.qos.ch/manual/<u></u>appenders.html#<u></u>SizeAndTimeBasedFNATP</a><br>
<br>
more details in <a href="http://jira.qos.ch/browse/LOGBACK-266" target="_blank">http://jira.qos.ch/browse/<u></u>LOGBACK-266</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Best regards,<br>
 Gena<br>
______________________________<u></u>_________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-user</a><br>
</font></span></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Logback-user mailing list</span><br><span><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a></span><br><span><a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a></span></div></blockquote></body></html>