Before calling LogManager.GetLogger(“”)
You have to call log4net.Config.XmlConfigurator.Configure();
In an ASP.NET app you probably want to put this call in Application_Start
Before calling LogManager.GetLogger(“”)
You have to call log4net.Config.XmlConfigurator.Configure();
In an ASP.NET app you probably want to put this call in Application_Start