title: Log4net not logging any errors
body: <p>Ive added a log4net implementation to my project but it isnt logging anything at all</p>
  
  <p>In my web.config</p>
  
  <pre><code>&lt;log4net&gt;
  
      &lt;appender name="FileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging"&gt;
        &lt;file value="C:\\inetpub\\wwwroot\\Onboarding\\data\\logs\\log.{date}.txt" /&gt;
        &lt;appendToFile value="true" /&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n" /&gt;
        &lt;/layout&gt;
        &lt;encoding value="utf-8" /&gt;
         &lt;filter type="log4net.Filter.LevelRangeFilter"&gt;
         &lt;param name="LevelMin" value="DEBUG" /&gt;
         &lt;param name="LevelMax" value="FATAL" /&gt;
     &lt;/filter&gt;
      &lt;/appender&gt;
  
    &lt;/log4net&gt;
  </code></pre>
  
  <p>In my global.asax:</p>
  
  <pre><code>void Application_Start(object sender, EventArgs e)
  {
      log4net.Config.XmlConfigurator.Configure();
  }
  </code></pre>
  
  <p>In the class (at the class level) where I log the error</p>
  
  <pre><code>ILog log = LogManager.GetLogger(System.Reflection.MethodBase
                                                   .GetCurrentMethod().DeclaringType);
  </code></pre>
  
  <p>and then in the method itself:</p>
  
  <pre><code>_logger.Log(AusSuperOnboarding.Business.Logging.Enum.Level.Fatal,
              GetType().Name, "Exception thrown in SendMessage()", null);
  </code></pre>