Uses of Interface
org.apache.logging.log4j.core.LifeCycle
Packages that use LifeCycle
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Implementation of Log4j 2.
Log4j 2 Appenders.
Apache Flume Appender.
Rolling File Appender and support classes.
Apache Flume Appender.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Configuration Builder Implementation.
Support for composite configurations.
Configuration using Properties files.
Classes and interfaces supporting configuration of Log4j 2 with XML.
Log4j 2 Filter support.
Log4j 2 helper classes.
The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web
application.
-
Uses of LifeCycle in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement LifeCycleModifier and TypeClassDescriptionclass
class
Binds a Log4j 1.x Filter with Log4j 2. -
Uses of LifeCycle in org.apache.log4j.config
Classes in org.apache.log4j.config that implement LifeCycleModifier and TypeClassDescriptionclass
Class Description goes here.class
Constructs a configuration based on Log4j 1 properties. -
Uses of LifeCycle in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement LifeCycle -
Uses of LifeCycle in org.apache.logging.log4j.core
Subinterfaces of LifeCycle in org.apache.logging.log4j.coreModifier and TypeInterfaceDescriptioninterface
AppendsLogEvent
s.interface
Interface that must be implemented to allow custom event filtering.interface
Extends the LifeCycle interface.Classes in org.apache.logging.log4j.core that implement LifeCycleModifier and TypeClassDescriptionclass
A life cycle to be extended.class
The LoggerContext is the anchor for the logging system. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender
Classes in org.apache.logging.log4j.core.appender that implement LifeCycleModifier and TypeClassDescriptionclass
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.final class
Appends to one or more Appenders asynchronously.final class
Appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
No-Operation Appender that counts events.final class
The FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.final class
File Appender.final class
Sends log events over HTTP.final class
Memory Mapped File Appender.class
An Appender that ignores log events.final class
Appends log events to a given output stream using a layout.final class
File Appender.final class
An appender that writes to files and can roll over at intervals.final class
An appender that writes to random access files and can roll over at intervals.class
class
An Appender that delivers events over socket connections.class
The Syslog Appender.final class
Appends log events to aWriter
. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.rewrite
Classes in org.apache.logging.log4j.core.appender.rewrite that implement LifeCycleModifier and TypeClassDescriptionfinal class
This Appender allows the logging event to be manipulated before it is processed by other Appenders. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.rolling
Classes in org.apache.logging.log4j.core.appender.rolling that implement LifeCycleModifier and TypeClassDescriptionclass
Abstract convenience class for triggering policies that extendAbstractLifeCycle
and implementTriggeringPolicy
.final class
Triggering policy that wraps other triggering policies.final class
Rolls a file over based on a cron schedule.class
class
Triggers a rollover on every restart, but only if the file size is greater than zero.class
final class
Rolls a file over based on time. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.routing
Classes in org.apache.logging.log4j.core.appender.routing that implement LifeCycleModifier and TypeClassDescriptionclass
Policy is purging appenders that were not in use specified time in minutesfinal class
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.private static final class
private static final class
private static class
LOG4J2-2629: PurgePolicy implementations can invokeRoutingAppender.deleteAppender(String)
after we have looked up an instance of a target appender but before events are appended, which could result in events not being recorded to any appender. -
Uses of LifeCycle in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LifeCycleModifier and TypeClassDescriptionclass
Asynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static class
An asynchronous root Logger.class
Helper class decoupling theAsyncLoggerConfig
class from the LMAX Disruptor library.class
LoggerContext
that createsAsyncLogger
objects.(package private) class
Helper class for async loggers: AsyncLoggerDisruptor handles the mechanics of working with the LMAX Disruptor, and works with its associated AsyncLoggerContext to synchronize the life cycle of the Disruptor and its thread with the life cycle of the context. -
Uses of LifeCycle in org.apache.logging.log4j.core.config
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.configModifier and TypeInterfaceDescriptioninterface
Interface that must be implemented to create a configuration.Classes in org.apache.logging.log4j.core.config that implement LifeCycleModifier and TypeClassDescriptionclass
The base Configuration.class
Wraps anAppender
with details an appender implementation shouldn't need to know about.class
class
The default configuration writes all output to the Console using the default logging level.class
Logger object that is created via configuration.static class
The root Logger.class
This configuration defaults to no logging. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.builder.impl
Classes in org.apache.logging.log4j.core.config.builder.impl that implement LifeCycleModifier and TypeClassDescriptionclass
This is the general version of the Configuration created by the Builder. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.composite
Classes in org.apache.logging.log4j.core.config.composite that implement LifeCycle -
Uses of LifeCycle in org.apache.logging.log4j.core.config.properties
Classes in org.apache.logging.log4j.core.config.properties that implement LifeCycleModifier and TypeClassDescriptionclass
Configuration created from a properties file. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.xml
Classes in org.apache.logging.log4j.core.config.xml that implement LifeCycleModifier and TypeClassDescriptionclass
Creates a Node hierarchy from an XML file. -
Uses of LifeCycle in org.apache.logging.log4j.core.filter
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.filterModifier and TypeInterfaceDescriptioninterface
Interface implemented by Classes that allow filtering to occur.Classes in org.apache.logging.log4j.core.filter that implement LifeCycleModifier and TypeClassDescriptionclass
Users should extend this class to implement filters.class
Enhances a Class by allowing it to contain Filters.final class
TheBurstFilter
is a logging filter that regulates logging traffic.final class
Composes and invokes one or more filters.final class
This filter causes all logging events to be dropped.final class
Compares against a log level that is associated with a context value.final class
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final class
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
A Filter that operates on a Map.final class
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.final class
This filter returns the onMatch result if there is no marker in the LogEvent.final class
This filter returns the onMatch result if the message matches the regular expression.final class
Returns the onMatch result if the script returns True and returns the onMismatch value otherwise.final class
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final class
Filter based on data in a StructuredDataMessage.class
Filter based on a value in the Thread Context Map (MDC).final class
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.final class
Filters events that fall within a specified time period in each day. -
Uses of LifeCycle in org.apache.logging.log4j.core.util
Classes in org.apache.logging.log4j.core.util that implement LifeCycleModifier and TypeClassDescriptionclass
ShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread)
.class
ManagesFileWatcher
s. -
Uses of LifeCycle in org.apache.logging.log4j.web
Subinterfaces of LifeCycle in org.apache.logging.log4j.webModifier and TypeInterfaceDescription(package private) interface
Specifies an interface for initializing and deinitializing Log4j in a Java EE web application.Classes in org.apache.logging.log4j.web that implement LifeCycleModifier and TypeClassDescription(package private) final class
This class initializes and deinitializes Log4j no matter how the initialization occurs. -
Uses of LifeCycle in org.apache.logging.log4j.web.appender
Classes in org.apache.logging.log4j.web.appender that implement LifeCycleModifier and TypeClassDescriptionclass
Logs using the ServletContext's log method