log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial. At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity. log4net is designed with two distinct goals in mind: speed and flexibility

logging, log, tracing, logfiles
Install-Package log4net -Version 2.0.8


Stefan Bodewig

See all contributors


Project Status

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


For local documentation, which is correct for this release see:

For the latest documentation see the log4net web site at:


log4net development happens on the log4net dev mailing list, see
<https://logging.apache.org/log4net/mail-lists.html>.  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 <http://www.apache.org/licenses/#clas>.

github pull requests are one way to contribute, but our real issue
tracker is JIRA <https://issues.apache.org/jira/browse/LOG4NET>.