dotnet add package elmahappender_log4net_1.2.10 --version 1.0.2
NuGet\Install-Package elmahappender_log4net_1.2.10 -Version 1.0.2
<PackageReference Include="elmahappender_log4net_1.2.10" Version="1.0.2" />
paket add elmahappender_log4net_1.2.10 --version 1.0.2
#r "nuget: elmahappender_log4net_1.2.10, 1.0.2"
// Install elmahappender_log4net_1.2.10 as a Cake Addin #addin nuget:?package=elmahappender_log4net_1.2.10&version=1.0.2 // Install elmahappender_log4net_1.2.10 as a Cake Tool #tool nuget:?package=elmahappender_log4net_1.2.10&version=1.0.2
This appender will allow log4net to be configured to send log messages to ELMAH directly. This way ELMAH can be the log manager of record for sites while still allowing specific logging parameters to be controlled with log4net as usual.
This package is specifically for log4net 1.2.10. If you upgrade to 1.2.11, you need to remove this package and install elmahappender_log4net.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net is compatible.|
- elmah.corelibrary (>= 1.2.2)
- log4net (= 1.2.10)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
*1.0.2 - Fix issue with MVC sites when the LogManager is created for the first time inside of the Application_Start function. This fix includes a new property to set the ApplicationName value for ELMAH manually instead of trying to infer it from the HttpContext.