public class BuiltConfiguration extends AbstractConfiguration
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>
LifeCycle.State
Modifier and Type | Field and Description |
---|---|
protected Component |
rootComponent |
isShutdownHookEnabled, listeners, pluginManager, pluginPackages, rootNode, scriptManager, shutdownTimeoutMillis
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
CONTEXT_PROPERTIES
Constructor and Description |
---|
BuiltConfiguration(LoggerContext loggerContext,
ConfigurationSource source,
Component rootComponent) |
Modifier and Type | Method and Description |
---|---|
protected Node |
convertToNode(Node parent,
Component component) |
void |
createAdvertiser(String advertiserString,
ConfigurationSource configSource) |
String |
getContentType() |
PluginManager |
getPluginManager() |
StatusConfiguration |
getStatusConfiguration() |
void |
setContentType(String contentType) |
void |
setMonitorInterval(int intervalSeconds) |
void |
setPluginPackages(String packages) |
void |
setShutdownHook(String flag) |
void |
setShutdownTimeoutMillis(long shutdownTimeoutMillis) |
void |
setup() |
addAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createAdvertiser, createConfiguration, doConfigure, getAdvertiser, getAppender, getAppenders, getAsyncLoggerConfigDelegate, getComponent, getConfigurationSource, getCustomLevels, getDefaultStatus, getLogger, getLoggerConfig, getLoggerContext, getLoggers, getName, getNanoClock, getPluginPackages, getProperties, getReliabilityStrategy, getRootLogger, getRootNode, getScheduler, getScriptManager, getShutdownTimeoutMillis, getStrSubstitutor, getWatchManager, initialize, initializeWatchers, isShutdownHookEnabled, preConfigure, removeAppender, removeListener, removeLogger, setAdvertiser, setLoggerAdditive, setName, setNanoClock, setPluginManager, setScriptManager, setToDefault, start, stop, toByteArray
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFilter, getFilter, hasFilter, isFiltered, removeFilter
protected Component rootComponent
public BuiltConfiguration(LoggerContext loggerContext, ConfigurationSource source, Component rootComponent)
public void setup()
setup
in class AbstractConfiguration
public String getContentType()
public void setContentType(String contentType)
public void createAdvertiser(String advertiserString, ConfigurationSource configSource)
public StatusConfiguration getStatusConfiguration()
public void setPluginPackages(String packages)
public void setShutdownHook(String flag)
public void setShutdownTimeoutMillis(long shutdownTimeoutMillis)
public void setMonitorInterval(int intervalSeconds)
public PluginManager getPluginManager()
getPluginManager
in class AbstractConfiguration
protected Node convertToNode(Node parent, Component component)
Copyright © 1999-2021 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.