title: MaxFileSize in timeBasedFileNamingAndTriggeringPolicy not work?
body: <p>In NiFi-0.6.1 ,i have try to reduce size of nifi-app.log to be stored in local directory.</p>
  
  <p>In that conf\logback.xml i have configured "MaxFileSize" to be 1MB.I think this only stores nifi-app.log should be under 1 MB Size only.But it doesn't do like that.It always store every logs.</p>
  
  <pre><code>&lt;appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
          &lt;file&gt;logs/nifi-app.log&lt;/file&gt;
          &lt;rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
              &lt;!--
                For daily rollover, use 'app_%d.log'.
                For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'.
                To GZIP rolled files, replace '.log' with '.log.gz'.
                To ZIP rolled files, replace '.log' with '.log.zip'.
              --&gt;
              &lt;fileNamePattern&gt;./logs/nifi-app_%d{yyyy-MM-dd_HH}.%i.log&lt;/fileNamePattern&gt;
              &lt;timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"&gt;
                  &lt;maxFileSize&gt;1MB&lt;/maxFileSize&gt;
              &lt;/timeBasedFileNamingAndTriggeringPolicy&gt;
              &lt;!-- keep 30 log files worth of history --&gt;
              &lt;maxHistory&gt;1&lt;/maxHistory&gt;
          &lt;/rollingPolicy&gt;
          &lt;encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"&gt;
              &lt;pattern&gt;%date %level [%thread] %logger{40} %msg%n&lt;/pattern&gt;
              &lt;immediateFlush&gt;true&lt;/immediateFlush&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  </code></pre>
  
  <p>Now i need to set 1MB for nifi-app.log.</p>
  
  <p><strong>How to set size for nifi-app.log?</strong></p>