talira

A reliable, fast and flexible logging framework for Java, successor to log4j 1.x

open sourceEPL-2.0 OR LGPL-2.1-onlyfree

Logback is a logging framework for Java, written as the successor to log4j 1.x. logback-core is the base; logback-classic is a much improved log4j 1.x that natively implements the SLF4J API, so code can switch between logback, log4j 1.x and java.util.logging without changes; logback-access (now in its own repository) gives Servlet containers such as Tomcat and Jetty HTTP access logs. QOS.ch, its maker, offers support contracts.

Problems it solves

  • a logging backend for SLF4J in my Java application
  • replace log4j 1.x in an old Java project
  • write HTTP access logs from Tomcat or Jetty

Features

  • native SLF4J implementation
  • logback-classic, logback-core and logback-access modules
  • HTTP access logs for Tomcat and Jetty
  • switch between logging frameworks without code changes

Alternatives

The same job

These do what Logback does.

  1. SLF4J Simple Logging Facade for Java

Compare Logback with the top 3