title: log4net rolling file appender not working
body: <p>I have following configuration:</p>
  
  <pre><code>&lt;log4net&gt;
      &lt;root&gt;
        &lt;level value="All"/&gt;
        &lt;appender-ref ref="RollingFileAppender"/&gt;
      &lt;/root&gt;
      &lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="mylog.log"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;preserveLogFileNameExtension value="true"/&gt;
        &lt;rollingStyle value="Composite"/&gt;
        &lt;datePattern value=".yyyyMMdd"/&gt;
        &lt;maximumFileSize value="5MB"/&gt;
        &lt;countDirection value="1"/&gt;
        &lt;maxSizeRollBackups value="-1"/&gt;
        &lt;staticLogFileName value="false"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;param name="ConversionPattern" value="%date [%thread] %-5level %logger - %message%newline"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
    &lt;/log4net&gt;
  </code></pre>
  
  <p>And the following code in global.asax:</p>
  
  <pre><code>Sub Application_Start()
          AreaRegistration.RegisterAllAreas()
  
          RegisterGlobalFilters(GlobalFilters.Filters)
          RegisterRoutes(RouteTable.Routes)
  
          BasicConfigurator.Configure();
  
          LogManager.GetLogger(typeof(Global_asax)).Error("Logger configured")
  
  
      End Sub
  </code></pre>
  
  <p>For the tag file in configuration above. I have tried C:\my folder\mylog.log as well as what is seen above mylog.log</p>
  
  <p>However, I do not see this file generated anywhere and there are no exceptions. </p>
  
  <p>Environment: VS 2013 ASP.Net VB. Running via Debug menu. When I run IISExpress is started by VS2013 and site runs. but no log is seen.</p>
  
  <p>I have tried various combinations for the file tag but nothing works.</p>
  
  <p>Can someone help please?</p>