Registry / logging / spring-boot-starter-log4j

spring-boot-starter-log4j

JSON →
library1.3.8.RELEASEjavamavenunverified

Spring Boot starter for integrating Log4J logging framework.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j</artifactId> <version>1.3.8.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-log4j
loggingjavav1.3.8.RELEASE
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

Creates a Log4J logger and logs an info message.

import org.apache.log4j.Logger; public class Main { private static final Logger logger = Logger.getLogger(Main.class); public static void main(String[] args) { logger.info("Hello from Log4J"); } }
Debug
Known issues
breakingLog4J 1.x is end-of-life and has known vulnerabilities; consider migrating to Log4J 2.x or other logging frameworks.
fix
Replace spring-boot-starter-log4j with spring-boot-starter-log4j2 and update imports to org.apache.logging.log4j.Logger.
affects: <=1.3.8.RELEASE
Upgrade
Version history
1.3.8.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
Resources
spring-boot-starter-log4j — mvn dependency:get spring-boot-starter-log4j · libregistry