Log4net does not write the log in the log file
Do you call log4net.Config.XmlConfigurator.Configure(); somewhere to make log4net read your configuration? E.g. in Global.asax: void Application_Start(object sender, EventArgs e) { // Code that runs on application startup // Initialize log4net. log4net.Config.XmlConfigurator.Configure(); }