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?