Uses of Interface
org.apache.logging.log4j.core.LifeCycle2
-
Packages that use LifeCycle2 Package Description org.apache.log4j.bridge org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.xml Log4j 1.x compatibility layer.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender.org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes.org.apache.logging.log4j.core.appender.routing Apache Flume Appender.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.config.builder.impl Configuration Builder Implementation.org.apache.logging.log4j.core.config.composite Support for composite configurations.org.apache.logging.log4j.core.config.json Classes and interfaces supporting configuration of Log4j 2 with JSON.org.apache.logging.log4j.core.config.properties Configuration using Properties files.org.apache.logging.log4j.core.config.xml Classes and interfaces supporting configuration of Log4j 2 with XML.org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.util Log4j 2 helper classes. -
-
Uses of LifeCycle2 in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement LifeCycle2 Modifier and Type Class Description class
AppenderAdapter.Adapter
class
FilterAdapter
Binds a Log4j 1.x Filter with Log4j 2. -
Uses of LifeCycle2 in org.apache.log4j.config
Classes in org.apache.log4j.config that implement LifeCycle2 Modifier and Type Class Description class
Log4j1Configuration
Class Description goes here.class
PropertiesConfiguration
Construct a configuration based on Log4j 1 properties. -
Uses of LifeCycle2 in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement LifeCycle2 Modifier and Type Class Description class
XmlConfiguration
Class Description goes here. -
Uses of LifeCycle2 in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement LifeCycle2 Modifier and Type Class Description class
AbstractLifeCycle
A life cycle to be extended.class
LoggerContext
The LoggerContext is the anchor for the logging system. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.appender
Classes in org.apache.logging.log4j.core.appender that implement LifeCycle2 Modifier and Type Class Description class
AbstractAppender
Abstract base class for Appenders.class
AbstractFileAppender<M extends OutputStreamManager>
Abstract File Appender.class
AbstractOutputStreamAppender<M extends OutputStreamManager>
Appends log events as bytes to a byte output stream.class
AbstractWriterAppender<M extends WriterManager>
Appends log events as strings to a writer.class
AsyncAppender
Appends to one or more Appenders asynchronously.class
ConsoleAppender
Appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
CountingNoOpAppender
No-Operation Appender that counts events.class
FailoverAppender
The FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.class
FileAppender
File Appender.class
HttpAppender
Sends log events over HTTP.class
MemoryMappedFileAppender
Memory Mapped File Appender.class
NullAppender
An Appender that ignores log events.class
OutputStreamAppender
Appends log events to a given output stream using a layout.class
RandomAccessFileAppender
File Appender.class
RollingFileAppender
An appender that writes to files and can roll over at intervals.class
RollingRandomAccessFileAppender
An appender that writes to random access files and can roll over at intervals.class
ScriptAppenderSelector
class
SmtpAppender
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.class
SocketAppender
An Appender that delivers events over socket connections.class
SyslogAppender
The Syslog Appender.class
WriterAppender
Appends log events to aWriter
. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.appender.rewrite
Classes in org.apache.logging.log4j.core.appender.rewrite that implement LifeCycle2 Modifier and Type Class Description class
RewriteAppender
This Appender allows the logging event to be manipulated before it is processed by other Appenders. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.appender.rolling
Classes in org.apache.logging.log4j.core.appender.rolling that implement LifeCycle2 Modifier and Type Class Description class
AbstractTriggeringPolicy
Abstract convenience class for triggering policies that extendAbstractLifeCycle
and implementTriggeringPolicy
.class
CompositeTriggeringPolicy
Triggering policy that wraps other triggering policies.class
CronTriggeringPolicy
Rolls a file over based on a cron schedule.class
NoOpTriggeringPolicy
class
OnStartupTriggeringPolicy
Triggers a rollover on every restart, but only if the file size is greater than zero.class
SizeBasedTriggeringPolicy
class
TimeBasedTriggeringPolicy
Rolls a file over based on time. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.appender.routing
Classes in org.apache.logging.log4j.core.appender.routing that implement LifeCycle2 Modifier and Type Class Description class
IdlePurgePolicy
Policy is purging appenders that were not in use specified time in minutesclass
RoutingAppender
This Appender "routes" between various Appenders, some of which can be references to Appenders defined earlier in the configuration while others can be dynamically created within this Appender as required. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LifeCycle2 Modifier and Type Class Description class
AsyncLoggerConfig
Asynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static class
AsyncLoggerConfig.RootLogger
An asynchronous root Logger.class
AsyncLoggerConfigDisruptor
Helper class decoupling theAsyncLoggerConfig
class from the LMAX Disruptor library.class
AsyncLoggerContext
LoggerContext
that createsAsyncLogger
objects. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config
Classes in org.apache.logging.log4j.core.config that implement LifeCycle2 Modifier and Type Class Description class
AbstractConfiguration
The base Configuration.class
AppenderControl
Wraps anAppender
with details an appender implementation shouldn't need to know about.class
ConfigurationScheduler
class
DefaultConfiguration
The default configuration writes all output to the Console using the default logging level.class
LoggerConfig
Logger object that is created via configuration.static class
LoggerConfig.RootLogger
The root Logger.class
NullConfiguration
This configuration defaults to no logging. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.builder.impl
Classes in org.apache.logging.log4j.core.config.builder.impl that implement LifeCycle2 Modifier and Type Class Description class
BuiltConfiguration
This is the general version of the Configuration created by the Builder. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.composite
Classes in org.apache.logging.log4j.core.config.composite that implement LifeCycle2 Modifier and Type Class Description class
CompositeConfiguration
A Composite Configuration. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.json
Classes in org.apache.logging.log4j.core.config.json that implement LifeCycle2 Modifier and Type Class Description class
JsonConfiguration
Creates a Node hierarchy from a JSON file. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.properties
Classes in org.apache.logging.log4j.core.config.properties that implement LifeCycle2 Modifier and Type Class Description class
PropertiesConfiguration
Configuration created from a properties file. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.xml
Classes in org.apache.logging.log4j.core.config.xml that implement LifeCycle2 Modifier and Type Class Description class
XmlConfiguration
Creates a Node hierarchy from an XML file. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.filter
Classes in org.apache.logging.log4j.core.filter that implement LifeCycle2 Modifier and Type Class Description class
AbstractFilter
Users should extend this class to implement filters.class
AbstractFilterable
Enhances a Class by allowing it to contain Filters.class
BurstFilter
TheBurstFilter
is a logging filter that regulates logging traffic.class
CompositeFilter
Composes and invokes one or more filters.class
DenyAllFilter
This filter causes all logging events to be dropped.class
DynamicThresholdFilter
Compares against a log level that is associated with a context value.class
LevelMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.class
LevelRangeFilter
This filter returns theonMatch
result if the level in theLogEvent
is in the range of the configured min and max levels, otherwise it returnsonMismatch
value .class
MapFilter
A Filter that operates on a Map.class
MarkerFilter
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.class
NoMarkerFilter
This filter returns the onMatch result if there is no marker in the LogEvent.class
RegexFilter
This filter returns the onMatch result if the message matches the regular expression.class
ScriptFilter
Returns the onMatch result if the script returns True and returns the onMismatch value otherwise.class
StringMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.class
StructuredDataFilter
Filter based on data in a StructuredDataMessage.class
ThreadContextMapFilter
Filter based on a value in the Thread Context Map (MDC).class
ThresholdFilter
This filter returns the onMatch result if the level in the LogEvent is the same or more specific than the configured level and the onMismatch value otherwise.class
TimeFilter
Filters events that fall within a specified time period in each day. -
Uses of LifeCycle2 in org.apache.logging.log4j.core.util
Classes in org.apache.logging.log4j.core.util that implement LifeCycle2 Modifier and Type Class Description class
DefaultShutdownCallbackRegistry
ShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread)
.class
WatchManager
ManagesFileWatcher
s.
-