Interface | Description |
---|---|
Configuration |
Interface that must be implemented to create a configuration.
|
ConfigurationAware |
Indicates that a class requests the current Configuration to be injected.
|
ConfigurationListener |
Interface used to allow components to be notified when the configuration changes.
|
LocationAwareReliabilityStrategy |
Interface to ensure delivery of log events to the appropriate Appenders while including location information.
|
LoggerContextAware |
Indicates that a class requests the current LoggerContext to be injected.
|
Reconfigurable |
Implemented by Configurations that can be reconfigured at runtime.
|
ReliabilityStrategy |
Interface for objects that know how to ensure delivery of log events to the appropriate appenders, even during and
after the configuration has been modified while the system is actively used.
|
Class | Description |
---|---|
AbstractConfiguration |
The base Configuration.
|
AppenderControl |
Wraps an
Appender with details an appender implementation shouldn't need to know about. |
AppenderControlArraySet |
Data structure with similar semantics to CopyOnWriteArraySet, but giving direct access to the underlying array.
|
AppenderRef |
An Appender reference.
|
AppendersPlugin |
An Appender container.
|
AwaitCompletionReliabilityStrategy |
ReliabilityStrategy that counts the number of threads that have started to log an event but have not completed yet,
and waits for these threads to finish before allowing the appenders to be stopped.
|
AwaitUnconditionallyReliabilityStrategy |
Reliability strategy that sleeps unconditionally for some time before allowing a Configuration to be stopped.
|
ConfigurationFactory |
Factory class for parsed
Configuration objects from a configuration file. |
ConfigurationFileWatcher |
Watcher for configuration files.
|
ConfigurationScheduler | |
ConfigurationSource |
Represents the source for the logging configuration.
|
Configurator |
Initializes and configure the Logging system.
|
CronScheduledFuture<V> | |
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.
|
DefaultReliabilityStrategy |
Reliability strategy that assumes reconfigurations will never take place.
|
HttpWatcher | |
LockingReliabilityStrategy |
ReliabilityStrategy that uses read/write locks to prevent the LoggerConfig from stopping while it is in use.
|
LoggerConfig |
Logger object that is created via configuration.
|
LoggerConfig.Builder<B extends LoggerConfig.Builder<B>> |
Builds LoggerConfig instances.
|
LoggerConfig.LevelAndRefs | |
LoggerConfig.RootLogger |
The root Logger.
|
LoggerConfig.RootLogger.Builder<B extends LoggerConfig.RootLogger.Builder<B>> |
Builds LoggerConfig instances.
|
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.
|
ReliabilityStrategyFactory |
Factory for ReliabilityStrategies.
|
ScriptsPlugin |
A container of Scripts.
|
Enum | Description |
---|---|
LoggerConfig.LoggerConfigPredicate |
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. |
Scheduled |
Annotation that identifies a Class as requiring a Scheduled thread.
|
Copyright © 1999-2023 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.