Registry / logging / log4j
library1.2.17javamavenunverified

Apache Log4j 1.2 is a logging library for Java that provides flexible and configurable logging.

<dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
INSTALL
IMPORT
SIG · LOG4J
L
log4j
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.

Logger
org.apache.log4j.Logger

Create a Logger instance and log an info message.

import org.apache.log4j.Logger; public class Example { private static final Logger logger = Logger.getLogger(Example.class); public void doSomething() { logger.info("Doing something"); } }
Debug
Known issues
breakingLog4j 1.2 is end-of-life and has known security vulnerabilities (CVE-2019-17571).
fix
Migrate to Log4j 2.x or another modern logging framework like Logback.
affects: <=1.2.17
Upgrade
Version history
1.2.17latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
log4j — mvn dependency:get log4j · libregistry