public interface Configuration extends Filterable
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_PROPERTIES
Key for storing the Context properties.
|
addFilter, getFilter, hasFilter, isFiltered, removeFilter
static final String CONTEXT_PROPERTIES
LoggerConfig getLoggerConfig(String name)
name
- The Logger name.Map<String,Appender> getAppenders()
Map<String,LoggerConfig> getLoggers()
void addLoggerAppender(Logger logger, Appender appender)
void addLoggerFilter(Logger logger, Filter filter)
void setLoggerAdditive(Logger logger, boolean additive)
Map<String,String> getProperties()
void start()
void stop()
void addListener(ConfigurationListener listener)
void removeListener(ConfigurationListener listener)
StrSubstitutor getStrSubstitutor()
void createConfiguration(Node node, LogEvent event)
<T> T getComponent(String name)
void addComponent(String name, Object object)
void setConfigurationMonitor(ConfigurationMonitor monitor)
ConfigurationMonitor getConfigurationMonitor()
void setAdvertiser(Advertiser advertiser)
Advertiser getAdvertiser()
boolean isShutdownHookEnabled()
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.