title: Log4net Configuration Issue
body: <p>Had something weird start happening to me today. I have an asp.net mvc app with log4net setup and everything had been working fine. Something must have changed somewhere and now nothing is getting logged (no log file is being created).</p>
  
  <p>Here's my global.asax.cx</p>
  
  <pre><code>protected void Application_Start()
  {
      log4net.Config.XmlConfigurator.Configure();
  }
  </code></pre>
  
  <p>Here's my configuration in my web.config:</p>
  
  <pre class="lang-xml prettyprint-override"><code>  &lt;configSections&gt;
      &lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/&gt;
    &lt;/configSections&gt;
    &lt;log4net&gt;
      &lt;appender name="FileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="c:\logs\api\ApiLog.txt" /&gt;
        &lt;appendToFile value="true" /&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date - %message%newline" /&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="ALL" /&gt;
        &lt;appender-ref ref="FileAppender" /&gt;
      &lt;/root&gt;
    &lt;/log4net&gt;
  </code></pre>
  
  <p>For some reason the <code>c:\logs\api\apilog.txt</code> file never gets created. However, if I change my <code>application_start</code> method to this it works fine:</p>
  
  <pre><code>log4net.Config.XmlConfigurator.Configure(new FileInfo("DirectPathToMy\web.config"));
  </code></pre>
  
  <p>Any ideas why calling <code>Configure()</code> is not finding the configuration in my web.config by default?</p>