title: Log4net appender threshold not working
body: <p>I've set up a <code>logfileAppender</code> and a <code>consoleAppender</code> in my log4net config for my application. I would like the logfile appender to only write ERROR messages and above and the console appender to write DEBUG and above.</p>
  
  <p>My config is:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;log4net debug="false"&gt;
  
  &lt;appender name="LogFileAppender" type="log4net.Appender.FileAppender,log4net" &gt;
    &lt;param name="File" value="log.txt" /&gt;
    &lt;param name="AppendToFile" value="true" /&gt;
    &lt;layout type="log4net.Layout.PatternLayout,log4net"&gt;
      &lt;param name="ConversionPattern" value="%d %M - %m%n" /&gt;
    &lt;/layout&gt;
    &lt;threshold value="ERROR"/&gt;
  &lt;/appender&gt;
  
  &lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"   &gt;
    &lt;layout type="log4net.Layout.PatternLayout"&gt;
      &lt;param name="ConversionPattern" value="%d %m%n" /&gt;
    &lt;/layout&gt;
  &lt;/appender&gt;
  
  
  &lt;root&gt;
    &lt;priority value="DEBUG" /&gt;
    &lt;appender-ref ref="ConsoleAppender" /&gt;
    &lt;appender-ref ref="LogFileAppender" /&gt;
  &lt;/root&gt;
  
  &lt;/log4net&gt;
  </code></pre>
  
  <p>I'm finding that both ERROR and DEBUG is being output to my logfile appender. How to restrict it to only ERROR?</p>