Apache Log4net is a versatile, feature-rich, efficient logging API and backend for .NET

Clone this repo:
  1. ed973ba Merge pull request #357 from apache/Feature/356-location-info by Jan Friedrich · 2 days ago master rc/3.6.0-rc1
  2. 204d768 #356 Keep the LogImpl frame for location information by Jan Friedrich · 2 days ago
  3. b4184ba #355 Bump MailKit to 4.18.2 for the patched System.Security.Cryptography.Pkcs by Jan Friedrich · 2 days ago
  4. 837c9f0 #355 Take the expected version in the release script test from Directory.Build.props by Jan Friedrich · 2 days ago
  5. fab0465 #355 Credit the 2026-11 audit fixes in the 3.5.1 changelog by Jan Friedrich · 2 days ago

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

Extensions

  • log4net.Ext.Mail - MailKit-based SMTP appender for sending log events via email (recommended replacement for the deprecated SmtpAppender)

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