title: SizeBasedTriggeringPolicy limit is not working
body: <p>I have the following setting in my log4j2 xml</p>
  
  <pre><code>&lt;Appenders&gt;
          &lt;RollingFile fileName="C:\logs\Fatal.log" filePattern="C:\logs\Fatal-%i.log" name="FatalFile"&gt;
              &lt;Policies&gt;
                  &lt;SizeBasedTriggeringPolicy size="10 MB"/&gt;
              &lt;/Policies&gt;
              &lt;PatternLayout pattern="[%d{ISO8601}] %-5level %logger{6} - %msg%n"/&gt;
          &lt;/RollingFile&gt;
  &lt;/Appenders&gt;
  </code></pre>
  
  <p>when my code runs for long duration, there are 7 logs getting created but, after that the log size starts to grow beyond the 10MB limit and becomes very large for all 7 files.</p>
  
  <p>I need to know why there is only 7 files created and how can limit the file size not to grow beyond 10 MB.</p>