Interface | Description |
---|---|
Configuration |
Interface that must be implemented to create a configuration.
|
ConfigurationListener |
Interface used to allow components to be notified when the configuration changes.
|
ConfigurationMonitor |
Interface that must be implemented to provide notification of configuration changes.
|
Reconfigurable |
Interface to be implemented by Configurations that can be reconfigured at runtime.
|
Class | Description |
---|---|
AbstractConfiguration |
The base Configuration.
|
AppenderControl |
Wraps an
Appender with details an appender implementation shouldn't need to know about. |
AppenderRef |
An Appender reference.
|
AppendersPlugin |
An Appender container.
|
ConfigurationFactory |
ConfigurationFactory allows the configuration implementation to be
dynamically chosen in 1 of 3 ways:
A system property named "log4j.configurationFactory" can be set with the
name of the ConfigurationFactory to be used.
ConfigurationFactory.setConfigurationFactory(ConfigurationFactory) can be called
with the instance of the ConfigurationFactory to be used.
|
ConfigurationSource |
Represents the source for the logging configuration.
|
Configurator |
Initializes and configure the Logging system.
|
DefaultAdvertiser |
The default advertiser does not do anything.
|
DefaultConfiguration |
The default configuration writes all output to the Console using the default logging level.
|
DefaultConfigurationMonitor |
The default configuration monitor does not do anything.
|
FileConfigurationMonitor |
Configuration monitor that periodically checks the timestamp of the configuration file and calls the
ConfigurationListeners when an update occurs.
|
LoggerConfig |
Logger object that is created via configuration.
|
LoggerConfig.RootLogger |
The root Logger.
|
Loggers | |
LoggersPlugin |
Container of Logger objects.
|
Node |
A Configuration node.
|
NullConfiguration |
This configuration defaults to no logging.
|
PropertiesPlugin |
Handles properties defined in the configuration.
|
Property |
Represents a key/value pair in the configuration.
|
Exception | Description |
---|---|
ConfigurationException |
This exception is thrown when an error occurs reading from, parsing, using, or initializing the Log4j 2
configuration.
|
Annotation Type | Description |
---|---|
Order |
Identifies the relative ordering of the Configuration.
|
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.