title: log4net not logging debug statements
body: <p>I am using log4net for the first time and have followed the documentation using supplied configuration samples, however debug statements do not log. </p>
  
  <p>Info, Error, Warn and Fatal levels all log correctly. Can anyone tell me what I am missing? </p>
  
  <p>app.config: </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /&gt;
  
  &lt;log4net&gt;
      &lt;appender name="Console" type="log4net.Appender.ColoredConsoleAppender"&gt;
  
          &lt;mapping&gt;
              &lt;level value="INFO" /&gt;
              &lt;foreColor value="Green"/&gt;
          &lt;/mapping&gt;
  
          &lt;mapping&gt;
              &lt;level value="DEBUG" /&gt;
              &lt;foreColor value="Cyan,HighIntensity"/&gt;
          &lt;/mapping&gt;
  
          &lt;mapping&gt;
              &lt;level value="WARN" /&gt;
              &lt;foreColor value="Purple,HighIntensity"/&gt;
          &lt;/mapping&gt;
  
          &lt;mapping&gt;
              &lt;level value="ERROR" /&gt;
              &lt;foreColor value="Red,HighIntensity"/&gt;
          &lt;/mapping&gt;
  
          &lt;mapping&gt;
              &lt;level value="FATAL" /&gt;
              &lt;foreColor value="Yellow,HighIntensity"/&gt;
          &lt;/mapping&gt;
  
          &lt;layout type="log4net.Layout.PatternLayout"&gt;
              &lt;!-- Pattern to output the caller's file name and line number --&gt;
              &lt;conversionPattern value="%5level [%thread] (%file:%line) - %message%newline" /&gt;
          &lt;/layout&gt;            
      &lt;/appender&gt;
  
      &lt;appender name="RollingFile" type="log4net.Appender.RollingFileAppender"&gt;
          &lt;file value="example.log" /&gt;
          &lt;appendToFile value="true" /&gt;
          &lt;maximumFileSize value="100KB" /&gt;
          &lt;maxSizeRollBackups value="2" /&gt;
  
          &lt;layout type="log4net.Layout.PatternLayout"&gt;
              &lt;conversionPattern value="%level %thread %logger - %message%newline" /&gt;
          &lt;/layout&gt;
      &lt;/appender&gt;
  
      &lt;root&gt;
          &lt;level value="INFO" /&gt;
          &lt;appender-ref ref="Console" /&gt;
          &lt;appender-ref ref="RollingFile" /&gt;
      &lt;/root&gt;
  &lt;/log4net&gt;
  </code></pre>
  
  <p>Some people have mentioned checking AssemblyInfo for [assembly: log4net.Config.XmlConfigurator()], however there is no difference with or without this line. </p>
  
  <p>Logger is declared like: </p>
  
  <pre><code>private static readonly ILog log = LogManager.GetLogger( typeof( CWD_Netsuite ) );
  </code></pre>
  
  <p>and is accessed like: </p>
  
  <pre><code>XmlConfigurator.Configure();
  log.Debug("Debugging");             //does not get logged
  log.Info( "Entering Application" ); //logged to console and log file
  log.Debug( "Debug Statement" );     //does not get logged 
  
  log.Error( "Error statement" );     //logged to console and log file
  log.Warn( "Warning statement" );    //logged to console and log file
  log.Fatal( "Fatal Statement" );     //logged to console and log file
  </code></pre>