According to this page: http://tinyurl.com/cajh5 http://logging.apache.org/log4net/release/manual/configuration.html#dot-config
you should probably be using Log4NetConfigurationSectionHandler instead of IgnoreSectionHandler. Class libraries usually don't have any log4net initialize code in them. The top most layer application (usually the UI layer or website) starts the log4net initialize process. This link describes strategies for debugging log4net during its startup process: http://logging.apache.org/log4net/release/faq.html#internalDebug --- [EMAIL PROTECTED] wrote: > Hi Ron > >How are you initializing log4net in the applications that aren't > >logging correctly? > > I config log4net in ClassLibrary or WinForm just like what in > ConsoleApp > in Visual Studio Team System 2005 Beta 2 : > 1 AssemblyInfo.cs:[assembly: log4net.Config.XmlConfigurator(Watch = > true)] > 2 App.config: > <?xml version="1.0" encoding="utf-8" ?> > <configuration> > <configSections> > <section name="log4net" type=" > System.Configuration.IgnoreSectionHandler" /> > </configSections> [snip]