public class PaxLoggingConfigurator
extends org.apache.log4j.PropertyConfigurator
OSGi-specific PropertyConfigurator that can parse log4j.properties file and
dynamically reference some log4j services (appenders, layouts, error handlers, filters) from OSGi
registry.
| Modifier and Type | Field and Description |
|---|---|
static String |
OSGI_PREFIX |
| Constructor and Description |
|---|
PaxLoggingConfigurator(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
doConfigure(Properties properties,
org.apache.log4j.spi.LoggerRepository hierarchy) |
List<org.ops4j.pax.logging.spi.support.PaxAppenderProxy> |
getProxies() |
public static final String OSGI_PREFIX
public PaxLoggingConfigurator(org.osgi.framework.BundleContext bundleContext)
public List<org.ops4j.pax.logging.spi.support.PaxAppenderProxy> getProxies()
public void doConfigure(Properties properties, org.apache.log4j.spi.LoggerRepository hierarchy)
doConfigure in class org.apache.log4j.PropertyConfiguratorCopyright © 2006–2022 OPS4J - Open Participation Software for Java. All rights reserved.