net-commons / common-logging

A portable logging abstraction for .NET
http://net-commons.github.io/common-logging
Apache License 2.0
649 stars 205 forks source link

IConfigurationSectionHandler is deprecated since .NET 2.0 #171

Open mstaessen opened 6 years ago

mstaessen commented 6 years ago

IConfigurationSectionHandler is deprecated since .NET 2.0, The ConfigSectionHandler should derive from ConfigurationSection. https://msdn.microsoft.com/en-us/library/system.configuration.iconfigurationsectionhandler(v=vs.110).aspx

When using the handler as-is without section-group, logging is not wired. When using the handler in a section group in combination with a virtual directory on IIS Express, it fails bootstrapping the configuration.

I haven't validated whether they are related, but it might be plausible.