Monday, February 27, 2012

Log4net Exclude messages from log

In the config file add a StringMatchFilter with the string to discard/filter.

Example:


...










...

1 comment:

darichkid said...

This is even better than log4net:
http://www.kellermansoftware.com/p-14-net-logging-library.aspx