When you have log4net config in a separate config file you should not include the configuration and configSections elements. log4net should be the top level element after the xml declartion.
More Related Contents:
- How to track down log4net problems
- How to configure log4net programmatically from scratch (no config)
- How to log MethodName when wrapping Log4net?
- Most useful NLog configurations [closed]
- Setting a log file name to include current date in Log4j
- Logging best practices [closed]
- Referencing 2 different versions of log4net in the same solution
- Logging, Aspect Oriented Programming, and Dependency Injection – Trying to make sense of it all
- Log4Net: set Max backup files on RollingFileAppender with rolling Date
- Can you configure log4net in code instead of using a config file?
- how do I work around log4net keeping changing publickeytoken
- How do you log the machine name via log4net?
- Reconfigure NLog LoggingConfiguration filters programmatically
- What is the preferred way to find focused control in WinForms app?
- NHibernate ISession Flush: Where and when to use it, and why?
- How can I use a MySql User Defined Variable in a .NET MySqlCommand?
- What is the ‘page lifecycle’ of an ASP.NET WebForm? [closed]
- When is a method eligible to be inlined by the CLR?
- Wix and .NET Framework (prerequisites)
- Data Access Layer design patterns
- Is datareader quicker than dataset when populating a datatable?
- General Rule for When to Implement IDisposable
- Sorting a Data Table
- What does Html.HiddenFor do?
- What is a .NET application domain?
- .NET 4 fails to install because SECUREREPAIR fails to CreateContentHash of file SetupResources.dll: for computing hash Error: 997
- Where is the “Create Unit Tests” selection?
- How to read assembly attributes
- How do I control MembershipProvider instance creation/lifetime?
- Visual Studio popup: “the operation could not be completed”