Uses of Interface
org.apache.logging.log4j.core.LifeCycle2
Packages that use LifeCycle2
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 LifeCycle2 in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement LifeCycle2Modifier and TypeClassDescriptionclassclassBinds a Log4j 1.x Filter with Log4j 2. -
Uses of LifeCycle2 in org.apache.log4j.config
Classes in org.apache.log4j.config that implement LifeCycle2Modifier and TypeClassDescriptionclassClass Description goes here.classConstructs a configuration based on Log4j 1 properties. -
Uses of LifeCycle2 in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement LifeCycle2 -
Uses of LifeCycle2 in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement LifeCycle2Modifier and TypeClassDescriptionclassA life cycle to be extended.classThe 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 LifeCycle2Modifier and TypeClassDescriptionclassAbstract base class for Appenders.classAbstractFileAppender<M extends OutputStreamManager>Abstract File Appender.classAbstractOutputStreamAppender<M extends OutputStreamManager>Appends log events as bytes to a byte output stream.classAbstractWriterAppender<M extends WriterManager>Appends log events as strings to a writer.final classAppends to one or more Appenders asynchronously.final classAppends log events toSystem.outorSystem.errusing a layout specified by the user.classNo-Operation Appender that counts events.final classThe FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.final classFile Appender.final classSends log events over HTTP.final classMemory Mapped File Appender.classAn Appender that ignores log events.final classAppends log events to a given output stream using a layout.final classFile Appender.final classAn appender that writes to files and can roll over at intervals.final classAn appender that writes to random access files and can roll over at intervals.classclassAn Appender that delivers events over socket connections.classThe Syslog Appender.final classAppends 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 LifeCycle2Modifier and TypeClassDescriptionfinal classThis 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 LifeCycle2Modifier and TypeClassDescriptionclassAbstract convenience class for triggering policies that extendAbstractLifeCycleand implementTriggeringPolicy.final classTriggering policy that wraps other triggering policies.final classRolls a file over based on a cron schedule.classclassTriggers a rollover on every restart, but only if the file size is greater than zero.classfinal classRolls 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 LifeCycle2Modifier and TypeClassDescriptionclassPolicy is purging appenders that were not in use specified time in minutesfinal classThis 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 classprivate static final classprivate static classLOG4J2-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 LifeCycle2 in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LifeCycle2Modifier and TypeClassDescriptionclassAsynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static classAn asynchronous root Logger.classHelper class decoupling theAsyncLoggerConfigclass from the LMAX Disruptor library.classLoggerContextthat createsAsyncLoggerobjects.(package private) classHelper 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 LifeCycle2 in org.apache.logging.log4j.core.config
Classes in org.apache.logging.log4j.core.config that implement LifeCycle2Modifier and TypeClassDescriptionclassThe base Configuration.classWraps anAppenderwith details an appender implementation shouldn't need to know about.classclassThe default configuration writes all output to the Console using the default logging level.classLogger object that is created via configuration.static classThe root Logger.classThis 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 LifeCycle2Modifier and TypeClassDescriptionclassThis 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 -
Uses of LifeCycle2 in org.apache.logging.log4j.core.config.properties
Classes in org.apache.logging.log4j.core.config.properties that implement LifeCycle2Modifier and TypeClassDescriptionclassConfiguration 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 LifeCycle2Modifier and TypeClassDescriptionclassCreates 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 LifeCycle2Modifier and TypeClassDescriptionclassUsers should extend this class to implement filters.classEnhances a Class by allowing it to contain Filters.final classTheBurstFilteris a logging filter that regulates logging traffic.final classComposes and invokes one or more filters.final classThis filter causes all logging events to be dropped.final classCompares against a log level that is associated with a context value.final classThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final classThis filter returns theonMatchresult if the level in theLogEventis in the range of the configured min and max levels, otherwise it returnsonMismatchvalue .classA Filter that operates on a Map.final classThis filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.final classThis filter returns the onMatch result if there is no marker in the LogEvent.final classThis filter returns the onMatch result if the message matches the regular expression.final classReturns the onMatch result if the script returns True and returns the onMismatch value otherwise.final classThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final classFilter based on data in a StructuredDataMessage.classFilter based on a value in the Thread Context Map (MDC).final classThis 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 classFilters 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 LifeCycle2Modifier and TypeClassDescriptionclassShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread).classManagesFileWatchers. -
Uses of LifeCycle2 in org.apache.logging.log4j.web
Classes in org.apache.logging.log4j.web that implement LifeCycle2Modifier and TypeClassDescription(package private) final classThis class initializes and deinitializes Log4j no matter how the initialization occurs. -
Uses of LifeCycle2 in org.apache.logging.log4j.web.appender
Classes in org.apache.logging.log4j.web.appender that implement LifeCycle2Modifier and TypeClassDescriptionclassLogs using the ServletContext's log method