public class PropertiesConfiguration extends Log4j1Configuration
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>LifeCycle.State| Modifier and Type | Field and Description |
|---|---|
static String |
DEBUG_KEY |
static long |
DEFAULT_DELAY |
INHERITED, manager, MONITOR_INTERVAL, NULL, THRESHOLD_PARAMisShutdownHookEnabled, listeners, pluginManager, pluginPackages, rootNode, scriptManager, shutdownTimeoutMillisDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERCONTEXT_PROPERTIES| Constructor and Description |
|---|
PropertiesConfiguration(LoggerContext loggerContext,
ConfigurationSource source,
int monitorIntervalSeconds)
No argument constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Object obj,
String[] keys,
Properties props,
String prefix) |
void |
doConfigure() |
Appender |
parseAppender(Properties props,
String appenderName) |
Filter |
parseAppenderFilters(Properties props,
String filterPrefix,
String appenderName) |
ErrorHandler |
parseErrorHandler(Properties props,
String errorHandlerPrefix,
String errorHandlerClass,
Appender appender) |
Layout |
parseLayout(String layoutPrefix,
String appenderName,
Properties props) |
getBuilderManager, initialize, reconfigureaddAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createAdvertiser, createConfiguration, getAdvertiser, getAppender, getAppenders, getAsyncLoggerConfigDelegate, getComponent, getConfigurationSource, getCustomLevels, getDefaultStatus, getLogger, getLoggerConfig, getLoggerContext, getLoggers, getName, getNanoClock, getPluginManager, getPluginPackages, getProperties, getReliabilityStrategy, getRootLogger, getRootNode, getScheduler, getScriptManager, getShutdownTimeoutMillis, getStrSubstitutor, getWatchManager, initializeWatchers, isShutdownHookEnabled, preConfigure, removeAppender, removeListener, removeLogger, setAdvertiser, setLoggerAdditive, setName, setNanoClock, setPluginManager, setScriptManager, setToDefault, setup, start, stop, toByteArrayaddFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFilter, getFilter, hasFilter, isFiltered, removeFilterpublic static final long DEFAULT_DELAY
public static final String DEBUG_KEY
public PropertiesConfiguration(LoggerContext loggerContext, ConfigurationSource source, int monitorIntervalSeconds)
public void doConfigure()
doConfigure in class AbstractConfigurationpublic Appender parseAppender(Properties props, String appenderName)
public Layout parseLayout(String layoutPrefix, String appenderName, Properties props)
public ErrorHandler parseErrorHandler(Properties props, String errorHandlerPrefix, String errorHandlerClass, Appender appender)
public void addProperties(Object obj, String[] keys, Properties props, String prefix)
public Filter parseAppenderFilters(Properties props, String filterPrefix, String appenderName)
Copyright © 1999-2019 The 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.