Registry / logging / apache-log4j-extras

apache-log4j-extras

JSON →
library1.2.17javamavenunverified

Provides additional appenders, filters, and other capabilities for Apache Log4j 1.2.

<dependency> <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version> </dependency>
INSTALL
IMPORT
SIG · APACHE-LOG4J-EXTRA
A
apache-log4j-extras
loggingjavav1.2.17
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RollingFileAppender
org.apache.log4j.rolling.RollingFileAppender

Configure a rolling file appender using Log4j Extras.

import org.apache.log4j.rolling.RollingFileAppender; import org.apache.log4j.Logger; public class Example { private static final Logger logger = Logger.getLogger(Example.class); public static void main(String[] args) { RollingFileAppender appender = new RollingFileAppender(); logger.addAppender(appender); logger.info("Hello, Log4j Extras!"); } }
Debug
Known issues
breakingLog4j 1.2 is end-of-life and has known security vulnerabilities (CVE-2019-17571, CVE-2021-4104).
fix
Migrate to Log4j 2.x or another modern logging framework.
affects: <=1.2.17
Upgrade
Version history
1.2.17latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
42
Resources
apache-log4j-extras — mvn dependency:get apache-log4j-extras · libregistry