Registry / logging / pax-logging-log4j2

pax-logging-log4j2

JSON →
library2.3.4javamavenunverified

Pax Logging backend implementation based on Apache Log4j2, providing Log4j2-specific configuration and service integration for OSGi environments.

<dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-log4j2</artifactId> <version>2.3.4</version> </dependency>
INSTALL
IMPORT
SIG · PAX-LOGGING-LOG4J2
P
pax-logging-log4j2
loggingjavav2.3.4
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.

PaxLoggingServiceImpl
org.ops4j.pax.logging.log4j2.PaxLoggingServiceImpl

Initializes the Pax Logging service with Log4j2 backend.

import org.ops4j.pax.logging.log4j2.PaxLoggingServiceImpl; import org.ops4j.pax.logging.spi.PaxLoggingService; PaxLoggingService service = new PaxLoggingServiceImpl(); service.configure(); System.out.println("Pax Logging Log4j2 service initialized.");
Debug
Known issues
gotchaConfiguration requires OSGi fragment attachment; misconfiguration can cause classloading issues.
fix
Ensure the Log4j2 configuration fragment is properly attached to the pax-logging-log4j2 bundle.
affects: >=2.0.0
Upgrade
Version history
2.3.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
pax-logging-log4j2 — mvn dependency:get pax-logging-log4j2 · libregistry