Skip to content

jboss-logging/log4j2-jboss-logmanager

A log4j2 implementation for JBoss Log Manager

An implementation of the log4j-api for the jboss-logmanager.

Important
As of version 2.0.0.Final, a minimum of Apache log4j 2.23 is required. The 1.1.x version is compatible with older versions of Apache log4j.

Usage

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-api</artifactId>
    <version>${version.org.apache.logging.log4j}</version>
</dependency>
<dependency>
    <groupId>org.jboss.logmanager</groupId>
    <artifactId>log4j2-jboss-logmanager</artifactId>
    <version>${version.org.jboss.logmanager.log4j2-jboss-logmanager}</version>
</dependency>

Configuration

Configuration is done through the JBoss Log Manager. A org.apache.logging.log4j.status.StatusListener is registered by default with a backing logger name of org.jboss.logmanager.log4j.status. The level at which status messages are logged can be configured via this logger.

Building

mvn clean install

Contributing