Logback
Learn about Logback and its uses.
We'll cover the following
What is logback?
Logback is the spiritual successor to log4j and should be used in all serious modern Java applications.
Logback is super fast and efficient and can be used to immediately replace other logging frameworks (like log4j and commons-logging) without changing our code. We choose the Logback implementation we want , remove the old logging jars, and put in the relevant jars for replacing those other frameworks.
For example, you might choose logback-classic as the implementation, logback-core and slf4j-api jars for the core of logback and API, and then add jcl-over-slf4j-1.7.2.jar
to replace Apache commons-logging.
Get hands-on with 1400+ tech skills courses.