Log4Net separate config file not working
问题 I'm having a strange problem. I have multiple projects in a solution. One of them is a WebAPI and it logs just fine. Another is an MVC admin site, this one won't log. Here's what I've tried. My logging code: var log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); log.Info("Some log message"); In the assemblyInfo I tried each of the following... [assembly: log4net.Config.XmlConfigurator(ConfigFile = "logging.config", Watch = true)] [assembly: