All notes

Features log4net.

log4net is designed with two distinct goals in mind: speed and flexibility.

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.


Turn off logging

SO: turn on/off logging.

Turn them off by changing the log4net config file, specifically change the appender's level or global level ("root" node) to "OFF" value.