Saturday 3 September 2011

LOGBack

LOGBack is a new logging framework, that is intended to be a successor of log4j. It is designed by the founder of log4j Ceki Gülcü.

It allows us to have an abstraction level of logging, so we can use API for logging and change only configuration to use an other framework in runtime producing logging.
Some new features: parameterized logging statements, abstraction of configurable encoders, Mapped Diagnostic Context (adding useful context information to every log line e.g. user who started current operation), event filtering

If you want to learn how to migrate to LOGBack read: http://logback.qos.ch/manual/migrationFromLog4j.html

No comments: