I had the same problem in Visula Studio 2008 when running a load test. log4net did not log anything. The issue was solved by adding [assembly: XmlConfigurator()] to AssemblyInfo.cs as suggested in this thread. Thanks for saving me a lot of time!
/Jojje suedeuno wrote: > > Actually that section is present in the web.config. Strangely if I remove > the attribute from assembly.info no logging occurs, but if I replace the > attribute back to the assembly.info then logging works. Is there an issue > with log4net and .Net 3.5 framework? > > > > > Radovan Raszka wrote: >> >> You probably missing these lines in your web.config / app.config >> <configSections> >> <section name="log4net" >> type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> >> </configSections> >> >> See http://logging.apache.org/log4net/release/manual/configuration.html, >> .config Files paragraph >> >> Radovan >> > > -- View this message in context: http://old.nabble.com/configuration-problems%2C-not-logging-tp20688643p32606277.html Sent from the Log4net - Users mailing list archive at Nabble.com.