Package org.apache.logging.log4j.core.config
@Export
@Version("2.21.0")
package org.apache.logging.log4j.core.config
Configuration of Log4j 2.
-
ClassDescriptionThe base Configuration.Wraps an
Appender
with details an appender implementation shouldn't need to know about.Data structure with similar semantics to CopyOnWriteArraySet, but giving direct access to the underlying array.An Appender reference.An Appender container.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.Reliability strategy that sleeps unconditionally for some time before allowing a Configuration to be stopped.Interface that must be implemented to create a configuration.Indicates that a class requests the current Configuration to be injected.This exception is thrown when an error occurs reading from, parsing, using, or initializing the Log4j 2 configuration.Factory class for parsedConfiguration
objects from a configuration file.Watcher for configuration files.Interface used to allow components to be notified when the configuration changes.Represents the source for the logging configuration.Initializes and configure the Logging system.Descriptor of a custom Level object that is created via configuration.Container for CustomLevelConfig objects.The default advertiser does not do anything.The default configuration writes all output to the Console using the default logging level.Reliability strategy that assumes reconfigurations will never take place.Interface to ensure delivery of log events to the appropriate Appenders while including location information.ReliabilityStrategy that uses read/write locks to prevent the LoggerConfig from stopping while it is in use.Logger object that is created via configuration.LoggerConfig.Builder<B extends LoggerConfig.Builder<B>>Builds LoggerConfig instances.The root Logger.Builds LoggerConfig instances.Indicates that a class requests the current LoggerContext to be injected.Container of Logger objects.A Configuration node.This configuration defaults to no logging.Identifies the relative ordering of aConfigurationFactory
plugin.Comparator for classes annotated withOrder
.Handles properties defined in the configuration.Represents a key/value pair in the configuration.Implemented by Configurations that can be reconfigured at runtime.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.Factory for ReliabilityStrategies.Annotation that identifies a Class as requiring a Scheduled thread.A container of Scripts.