log4net 3.2.0

dotnet add package log4net --version 3.2.0
                    
NuGet\Install-Package log4net -Version 3.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="log4net" Version="3.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="log4net" Version="3.2.0" />
                    
Directory.Packages.props
<PackageReference Include="log4net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add log4net --version 3.2.0
                    
#r "nuget: log4net, 3.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package log4net@3.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=log4net&version=3.2.0
                    
Install as a Cake Addin
#tool nuget:?package=log4net&version=3.2.0
                    
Install as a Cake Tool

log4net

NuGet package NuGet package

Introduction

Apache log4net is a sub project of the Apache Logging Services project. Apache log4net graduated from the Apache Incubator in February 2007. Web site: http://logging.apache.org/log4net

Documentation

For the latest documentation see the log4net web site at: http://logging.apache.org/log4net

Contributing

log4net development happens on Github and on our mailing list. Please join the mailing list and discuss bigger changes before working on them.

For bigger changes we must ask you to sign a Contributor License Agreement.

Developing

log4net targets net462 and netstandard2.0.

Please see

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3.3K)

Showing the top 5 NuGet packages that depend on log4net:

Package Downloads
Microsoft.Extensions.Logging.Log4Net.AspNetCore

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/

Snowflake.Data

Snowflake Connector for .NET

Microsoft.ApplicationInsights.Log4NetAppender

Application Insights Log4Net Appender is a customer appender allowing you to send Log4Net log messages to Application Insights. Application Insights will collect your logs from multiple sources and provide rich powerful search capabilities. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156

log4net.Ext.Json

Enable JSON logging in log4net.

MiNET

MiNET - a Minecraft PocketEdition Server

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.0 211,271 8/22/2025
3.2.0-preview.1 4,464 7/3/2025
3.1.0 1,289,102 5/12/2025
3.0.4 1,568,007 2/21/2025
3.0.3 2,686,774 11/7/2024
3.0.2 617,035 10/21/2024
3.0.1 724,851 9/27/2024
3.0.0 643,311 9/15/2024
2.0.17 9,626,336 3/25/2024
2.0.16 750,785 3/8/2024
2.0.15 41,862,875 8/4/2022
2.0.14 24,260,886 12/31/2021
2.0.13 16,179,015 11/2/2021
2.0.12 55,305,014 10/26/2020
2.0.11 4,204,615 9/23/2020
2.0.10 8,502,425 9/12/2020