public void Before_any() { string path = AppDomain.CurrentDomain.BaseDirectory; string file = Path.Combine(path, "tests.log4net.xml"); XmlConfigurator.Configure(new FileInfo(file)); Trace.WriteLine("Loading Log4net: " + file); }