Apache logging services logo Apache log4j logo

Commons Logging Bridge

The Commons Logging Bridge allows applications coded to the Commons Logging API to use Log4j 2 as the implementation.

Requirements

The Commons Logging Bridge is dependent on the Log4j 2 API and Commons Logging. For more information, see Runtime Dependencies.

Usage

Using the Commons Logging Bridge is straightforward. Simply add the bridge jar along with the other Log4j 2 jars and the Commons Logging jar, and all logging done using the Commons Logging API will be routed to Log4j.