You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by Ayende Rahien <ay...@ayende.com> on 2007/02/27 17:19:15 UTC
Configuring from code
I need to configure log4net from code, to verify that some of my code is
output the correct log messages.
The issue is that I basically wants to do something like:
EnableLogsFor("MyLogger");
//run test
StopLogging();
The real problem is that the amount of logs that are generates is fairly
huge, and I want to be able to open just one, and close just one, without
impacting anything else.
Any ideas how I can do that?