Wednesday, February 10, 2010

Filtering a log4net appender to exclude a logger

<filter type="log4net.Filter.LoggerMatchFilter">
  <loggerToMatch value="Logger.To.Filter.Out" />
  <acceptOnMatch value="false" />
</filter>

From ILoggable: Log4Net filtering by logger