title: Rolling file on utc date rather than server date
body: <p>This is my log4net.xml file</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;log4net&gt;
    &lt;appender name="RollingFile" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;file value="C:\MVC2-" &gt; &lt;/file&gt;
      &lt;appendToFile value="true" /&gt;
      &lt;rollingStyle value="Date" /&gt;
      &lt;datePattern value="yyyy'-'MM'-'dd'.log'" /&gt;
  
      &lt;dateTimeStrategy type="log4net.Appender.RollingFileAppender+UniversalDateTime" /&gt;
  
      &lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock" /&gt;
  
      &lt;staticLogFileName value="false" /&gt;
  
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
        &lt;conversionPattern value="%utcdate %level %property{requestId} %thread %logger - %message%newline" /&gt;
      &lt;/layout&gt;
    &lt;/appender&gt;
  
    &lt;root&gt;
      &lt;level value="DEBUG" /&gt;
      &lt;appender-ref ref="RollingFile" /&gt;
    &lt;/root&gt;
  &lt;/log4net&gt;
  </code></pre>
  
  <p>The log dates are in UTC, but the file rolls over to the next day on server time. This results in some hours of logs being recorded in the wrong file.</p>
  
  <p>How do I make the file roll over depending upon the utc time?</p>