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 |
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 |
Factory class for parsed
Configuration objects from a configuration file. |
ConfigurationSource |
Represents the source for the logging configuration.
|
Configurator |
Initializes and configure the Logging system.
|
CustomLevelConfig |
Descriptor of a custom Level object that is created via configuration.
|
CustomLevels |
Container for CustomLevelConfig objects.
|
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.
|
OrderComparator |
Comparator for classes annotated with
Order . |
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 a
ConfigurationFactory plugin. |
Copyright © 1999-2021 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.