title: rotation log4net doesn't rewrite the same log-file
body: <p>I want to limit my rotation-log to 500 MB.</p>
  
  <p>So after 500MB the same log file will be overridden.</p>
  
  <p>Now configuration opens a new log-file after 500MB.</p>
  
  <p>How can I fix this?</p>
  
  <pre class="lang-xml prettyprint-override"><code>  &lt;log4net&gt;
      &lt;appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="D:\Products\Logs\MamClientServices\MamClientServiceLog.txt"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;StaticLogFileAppName value="false"/&gt;
        &lt;rollingStyle value="Size"/&gt;
        &lt;maxSizeRollBackups value="5"/&gt;
        &lt;maximumFileSize value="500MB"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date{dd MMM yyyy HH:mm:ss,fff}||[%thread]||%-5level||%logger||%message%newline"/&gt;
        &lt;/layout&gt;
        &lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock"/&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="WARN"/&gt;
        &lt;appender-ref ref="RollingLogFileAppender"/&gt;
      &lt;/root&gt;
      &lt;logger name="infrastructure" additivity="false"&gt;
        &lt;level value="INFO"/&gt;
        &lt;appender-ref ref="RollingLogFileAppender"/&gt;
      &lt;/logger&gt;
      &lt;logger name="system" additivity="false"&gt;
        &lt;level value="INFO"/&gt;
        &lt;appender-ref ref="RollingLogFileAppender"/&gt;
      &lt;/logger&gt;
    &lt;/log4net&gt;
  </code></pre>