title: Logback roll only on file size
body: <p>I am using logback 1.0.13.  I want my log file to roll solely based off of file size.  If this takes 2 hours or 2 years, I don't care.  I am having trouble figuring out how to do so.  My appender is configured like so:</p>
  
  <pre><code>&lt;appender name="serverFaultFile"
      class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
      &lt;file&gt;/folder/to/log/file.log&lt;/file&gt;
      &lt;rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
          &lt;fileNamePattern&gt;/folder/to/log/file-%d{yyyy-MM}.%i.log&lt;/fileNamePattern&gt;
          &lt;MaxHistory&gt;2&lt;/MaxHistory&gt;
          &lt;cleanHistoryOnStart&gt;true&lt;/cleanHistoryOnStart&gt;
          &lt;timeBasedFileNamingAndTriggeringPolicy
              class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"&gt;
              &lt;maxFileSize&gt;10MB&lt;/maxFileSize&gt;
              &lt;MaxHistory&gt;9&lt;/MaxHistory&gt;
          &lt;/timeBasedFileNamingAndTriggeringPolicy&gt;
      &lt;/rollingPolicy&gt;
      &lt;encoder&gt;
          &lt;pattern&gt;[%p] [%d{ISO8601}] [%c] [%m]%n&lt;/pattern&gt;
      &lt;/encoder&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>This solution rolls monthly, which isn't what I need.  I tried completely dropping the -%d{dateformat} modifier, but then the file was never even created/logged to.  I tried modifiers %G and %yyyy, but monthly was as fine grained as logback would apparently allow me to get (see this <a href="http://jira.qos.ch/browse/LOGBACK-771" rel="noreferrer">bug report</a>).  What am I missing?</p>