title: log4net outputting file but not to debug window
body: <p>I'm trying to get output from for errors to show up both in an appended logfile but also in the debug window. The logfile stuff is working correctly, but nothing every shows up in the debug window.</p>
  
  <p>First, here is my config</p>
  
  <pre><code>  &lt;log4net&gt;
      &lt;!--
    This writes the log information to the console window.  It only logs events
    that are at least at the INFO level (which would mean that DEBUG events are not
    captured.
    --&gt;
      &lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date{ABSOLUTE} [%thread] %level %logger - %message%newlineExtra Info: %property{testProperty}%newline%exception"/&gt;
        &lt;/layout&gt;
        &lt;filter type="log4net.Filter.LevelRangeFilter"&gt;
          &lt;levelMin value="DEBUG"/&gt;
          &lt;levelMax value="FATAL"/&gt;
        &lt;/filter&gt;
      &lt;/appender&gt;
      &lt;!--
    This stores information in the logfile.txt file.  It only captures log events
    that contain the key word test or error.
    --&gt;
      &lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="C:\TOPS\LOGFILES\logfile.txt"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;rollingStyle value="Size"/&gt;
        &lt;maxSizeRollBackups value="5"/&gt;
        &lt;maximumFileSize value="10MB"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="test"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="error"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %level %logger - %message%newline%exception"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="DEBUG"/&gt;
        &lt;appender-ref ref="ConsoleAppender"/&gt;
        &lt;appender-ref ref="RollingFileAppender"/&gt;
      &lt;/root&gt;
    &lt;/log4net&gt;
  </code></pre>
  
  <p>and then i call log4net in my code </p>
  
  <pre><code>        log.Debug("Debug error logging", ex);
          log.Info("Info error logging", ex);
          log.Warn("Warn error logging", ex);
          log.Error("Error error logging", ex);
          log.Fatal("Fatal error logging", ex);
  </code></pre>
  
  <p>this creates 5 entries in my logfile, but no entries in my console window.</p>
  
  <p>i have also modified my web.config so the appenders were as similar as possible, but i still get the exact same results</p>
  
  <pre><code>  &lt;log4net&gt;
      &lt;!--
    This writes the log information to the console window.  It only logs events
    that are at least at the INFO level (which would mean that DEBUG events are not
    captured.
    --&gt;
      &lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="test"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="error"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %level %logger - %message%newline%exception"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;!--
    This stores information in the logfile.txt file.  It only captures log events
    that contain the key word test or error.
    --&gt;
      &lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="C:\TOPS\LOGFILES\logfile.txt"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;rollingStyle value="Size"/&gt;
        &lt;maxSizeRollBackups value="5"/&gt;
        &lt;maximumFileSize value="10MB"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="test"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="error"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %level %logger - %message%newline%exception"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="DEBUG"/&gt;
        &lt;appender-ref ref="ConsoleAppender"/&gt;
        &lt;appender-ref ref="RollingFileAppender"/&gt;
      &lt;/root&gt;
    &lt;/log4net&gt;
  </code></pre>
  
  <p>any ideas on what i may have missed that is breaking the console output?</p>
  
  <p>EDIT:</p>
  
  <p>found the solution, as pointed out in the comments below by making3. i confused console appender and trace appender, which is what i was actually looking for. here's the updated config.</p>
  
  <pre><code>  &lt;log4net&gt;
      &lt;!--
    This writes the log information to the console window.  It only logs events
    that are at least at the INFO level (which would mean that DEBUG events are not
    captured.
    --&gt;
      &lt;appender name="TraceAppender" type="log4net.Appender.TraceAppender"&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="test"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="error"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %level %logger - %message%newline%exception"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;!--
    This stores information in the logfile.txt file.  It only captures log events
    that contain the key word test or error.
    --&gt;
      &lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="C:\TOPS\LOGFILES\logfile.txt"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;rollingStyle value="Size"/&gt;
        &lt;maxSizeRollBackups value="5"/&gt;
        &lt;maximumFileSize value="10MB"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="test"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
          &lt;stringToMatch value="error"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %level %logger - %message%newline%exception"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="DEBUG"/&gt;
        &lt;appender-ref ref="ConsoleAppender"/&gt;
        &lt;appender-ref ref="TraceAppender"/&gt;
      &lt;/root&gt;
    &lt;/log4net&gt;
  </code></pre>