Microsoft.Extensions.Logging.Log4Net.AspNetCore 2.2.0

Allows to configure Log4net as Microsoft Extensions Logging handler on any ASP.NET Core application.

Original code proposal by @anuraj --> https://dotnetthoughts.net/how-to-use-log4net-with-aspnetcore-for-logging/

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Extensions.Logging.Log4Net.AspNetCore -Version 2.2.0
dotnet add package Microsoft.Extensions.Logging.Log4Net.AspNetCore --version 2.2.0
paket add Microsoft.Extensions.Logging.Log4Net.AspNetCore --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Fixed bugs:
- #24 - Support for configuration watching
Now, you are able to configure Log4Net to be on watch mode over the log4net.config file.
- #25 - Allow to create logger with type name
The library now allows you to create a named logger within CreateLogger>T<, that automatically takes your type FullName and configures the logger with that name.
- #28 - Configure log4net outside the log4net.config
@kastwey implemented a way, using XPath routes, to be able to configure the log4net.config file through appsettings or environment variables in .NET Core.
- #32 - The AddLog4Net() method does not take log4net.config filename automatically
Fixed bug.

Special thanks to Toni Wenzel (@kastwey) by its contributions

Version History

Version Downloads Last updated
2.2.10 62,367 1/14/2019
2.2.9 3,906 1/7/2019
2.2.8 1,427 1/2/2019
2.2.6 63,929 10/22/2018
2.2.5 52,843 9/6/2018
2.2.4 54,039 7/11/2018
2.2.3 5,397 7/3/2018
2.2.1 7,720 6/26/2018
2.2.0 12,758 6/20/2018
2.1.0 46,091 4/17/2018
2.0.3 35,930 3/2/2018
2.0.2 2,219 2/27/2018
2.0.1 10,371 1/8/2018
2.0.0 1,030 1/2/2018
1.1.0 3,668 11/2/2017
1.0.1 2,467 9/21/2017
1.0.0 3,180 7/12/2017
Show less