I have log4net loggers configured to run with my unit tests, but for a few select unit tests that serve as perf tests I want to disable logging. How can I disable (and later re-enable) logging at runtime, basically overriding the logger settings that are in my .config file?
Share
on http://osdir.com/ml/windows.dotnet.log4net.user/2004-01/msg00010.html they recommend