title: log4net works well in window 10 but only wirte part of logs in windows 7 and xp
body: <p>I use log4net to log info and error in my application, it works well in windows 10, but in windows 7 and windows xp, it only write part of the logs, looks like below</p>
  
  <p><a href="https://i.stack.imgur.com/cByqH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cByqH.png" alt="enter image description here"></a></p>
  
  <p>This is my log4net config, anyone can help?</p>
  
  <pre><code>&lt;log4net&gt;
    &lt;logger name="logerror"&gt;
      &lt;level value="ALL" /&gt;
      &lt;appender-ref ref="ErrorAppender" /&gt;
    &lt;/logger&gt;
    &lt;logger name="loginfo"&gt;
      &lt;level value="ALL" /&gt;
      &lt;appender-ref ref="InfoAppender" /&gt;
    &lt;/logger&gt;
    &lt;appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;param name="File" value="Log\\LogError\\" /&gt;
      &lt;param name="AppendToFile" value="true" /&gt;
      &lt;param name="MaxSizeRollBackups" value="100" /&gt;
      &lt;param name="MaxFileSize" value="10240" /&gt;
      &lt;param name="StaticLogFileName" value="false" /&gt;
      &lt;param name="DatePattern" value="yyyyMMdd&amp;quot;.htm&amp;quot;" /&gt;
      &lt;param name="RollingStyle" value="Date" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
        &lt;param name="ConversionPattern" value="&amp;lt;HR COLOR=red&amp;gt;%n异常时间：%d [%t] &amp;lt;BR&amp;gt;%n异常级别：%-5p &amp;lt;BR&amp;gt;%n异 常 类：%c [%x] &amp;lt;BR&amp;gt;%n%m &amp;lt;BR&amp;gt;%n &amp;lt;HR Size=1&amp;gt;"  /&gt;
      &lt;/layout&gt;
    &lt;/appender&gt;
    &lt;appender name="InfoAppender" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;param name="File" value="Log\\LogInfo\\" /&gt;
      &lt;param name="AppendToFile" value="true" /&gt;
      &lt;param name="MaxFileSize" value="10240" /&gt;
      &lt;param name="MaxSizeRollBackups" value="100" /&gt;
      &lt;param name="StaticLogFileName" value="false" /&gt;
      &lt;param name="DatePattern" value="yyyyMMdd&amp;quot;.htm&amp;quot;" /&gt;
      &lt;param name="RollingStyle" value="Date" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
        &lt;param name="ConversionPattern" value="&amp;lt;HR COLOR=blue&amp;gt;%n日志时间：%d [%t] &amp;lt;BR&amp;gt;%n日志级别：%-5p &amp;lt;BR&amp;gt;%n日 志 类：%c [%x] &amp;lt;BR&amp;gt;%n%m &amp;lt;BR&amp;gt;%n &amp;lt;HR Size=1&amp;gt;"  /&gt;
      &lt;/layout&gt;
    &lt;/appender&gt;
  &lt;/log4net&gt;
  </code></pre>