With current versions of NUnit, you can make your example work by adding a line like this to the public constructor...
log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo("Log.config"));
I have confirmed that the program works without this change under NUnit 2.2.10. It does not work under 2.4.8 or 2.5.7. Whatever changed, it was a long time back. We'll work this problem as time is available, but it's a low priority.
BTW, I like your trick for running the same program under NUnit and standalone.
With current versions of NUnit, you can make your example work by adding a line like this to the public constructor... Config. XmlConfigurator .Configure( new System. IO.FileInfo( "Log.config" ));
log4net.
I have confirmed that the program works without this change under NUnit 2.2.10. It does not work under 2.4.8 or 2.5.7. Whatever changed, it was a long time back. We'll work this problem as time is available, but it's a low priority.
BTW, I like your trick for running the same program under NUnit and standalone.
Charlie