Apache logging services logo Apache log4j logo

Javadoc API Documentation

The table below contains links to the Javadoc API Documentation for the components you are most likely to use directly in code. You can also use the menu links on the left.

Component Description
Log4j 2 API The interface that applications should use and code against.
Implementation The standard implementation, also called the Log4j 2 Core, that contains Appenders, Filters, and more.
JSP Tag Library The tag library that enables Java-free logging in JavaServer Pages™ using Log4j 2.
JSP Tag Library (TLD Doc) The special Javadoc-like Tag Library Documentation for the Log4j 2 JSP Tag Library.

The table below contains links to the Javadoc API Documentation for all the other Log4j 2 components, which you likely will not use directly in code but instead will only configure or include in your dependencies.

Component Description
Commons Logging Bridge A bridge that permits applications written against the Apache Commons Logging API to log using Log4j 2.
SLF4J Binding A bridge that permits applications written against the SLF4J API to log using Log4j 2.
Log4j 1.2 API Bridge A bridge that permits applications written against the Log4j 1.2.x API to log using Log4j 2.
Log4j 2 to SLF4J Adapter An adapter that permits applications written against the Log4j 2 API to log using SLF4J.
Apache Flume NG Appender An Appender that allows applications to send logging events to Apache Flume NG Agents.
Log4j JMX GUI A Java Swing-based client for remotely viewing the status logger and editing the Log4j configuration.