Uses of Interface
org.apache.logging.log4j.core.LifeCycle
Packages that use LifeCycle
Package
Description
Implementation of Log4j 2.
Log4j 2 Appenders.
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
Message oriented middleware appenders.
Classes and interfaces for ZeroMQ/JeroMQ support.
Classes and interfaces for Kafka appender support.
The NoSQL Appender supports writing log events to NoSQL databases.
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.
Classes and interfaces supporting configuration of Log4j 2 with JSON.
Configuration using Properties files.
Classes and interfaces supporting configuration of Log4j 2 with XML.
Classes and interfaces supporting configuration of Log4j 2 with YAML.
Log4j 2 Filter support.
Log4j 2 helper classes.
-
Uses of LifeCycle in org.apache.logging.log4j.core
Subinterfaces of LifeCycle in org.apache.logging.log4j.coreModifier and TypeInterfaceDescriptioninterfaceAppendsLogEvents.interfaceInterface that must be implemented to allow custom event filtering.interfaceExtends the LifeCycle interface.Classes in org.apache.logging.log4j.core that implement LifeCycleModifier and TypeClassDescriptionclassA life cycle to be extended.classThe 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 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 classfinal 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.classfinal classSend an e-mail when a specific logging event occurs, typically on errors or fatal errors.classAn Appender that delivers events over socket connections.classThe Syslog Appender.final classAppends log events to aWriter. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.db
Classes in org.apache.logging.log4j.core.appender.db that implement LifeCycleModifier and TypeClassDescriptionclassAbstractDatabaseAppender<T extends AbstractDatabaseManager>An abstract Appender for writing events to a database of some type, be it relational or NoSQL. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.db.jdbc
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.appender.db.jdbcClasses in org.apache.logging.log4j.core.appender.db.jdbc that implement LifeCycleModifier and TypeClassDescriptionclassclassAConnectionSourcethat uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String).final classAJdbcAppenderconnection source that uses aDataSourceto connect to the database.classAConnectionSourcethat uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String).final classAJdbcAppenderconnection source that uses a public static factory method to obtain aConnectionorDataSource.final classThis Appender writes logging events to a relational database using standard JDBC mechanisms. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.mom
Classes in org.apache.logging.log4j.core.appender.mom that implement LifeCycle -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.mom.jeromq
Classes in org.apache.logging.log4j.core.appender.mom.jeromq that implement LifeCycleModifier and TypeClassDescriptionfinal classSends log events to one or more ZeroMQ (JeroMQ) endpoints. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.mom.kafka
Classes in org.apache.logging.log4j.core.appender.mom.kafka that implement LifeCycleModifier and TypeClassDescriptionfinal classSends log events to an Apache Kafka topic. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.nosql
Classes in org.apache.logging.log4j.core.appender.nosql that implement LifeCycleModifier and TypeClassDescriptionfinal classThis Appender writes logging events to a NoSQL database using a configured NoSQL provider. -
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 classThis 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 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 LifeCycle in org.apache.logging.log4j.core.appender.routing
Classes in org.apache.logging.log4j.core.appender.routing that implement LifeCycleModifier 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. -
Uses of LifeCycle in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement LifeCycleModifier 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. -
Uses of LifeCycle in org.apache.logging.log4j.core.config
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.configModifier and TypeInterfaceDescriptioninterfaceInterface that must be implemented to create a configuration.Classes in org.apache.logging.log4j.core.config that implement LifeCycleModifier 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 LifeCycle in org.apache.logging.log4j.core.config.builder.impl
Classes in org.apache.logging.log4j.core.config.builder.impl that implement LifeCycleModifier and TypeClassDescriptionclassThis 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.json
Classes in org.apache.logging.log4j.core.config.json that implement LifeCycleModifier and TypeClassDescriptionclassCreates a Node hierarchy from a JSON file. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.properties
Classes in org.apache.logging.log4j.core.config.properties that implement LifeCycleModifier and TypeClassDescriptionclassConfiguration 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 TypeClassDescriptionclassCreates a Node hierarchy from an XML file. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.yaml
Classes in org.apache.logging.log4j.core.config.yaml that implement LifeCycle -
Uses of LifeCycle in org.apache.logging.log4j.core.filter
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.filterModifier and TypeInterfaceDescriptioninterfaceInterface implemented by Classes that allow filtering to occur.Classes in org.apache.logging.log4j.core.filter that implement LifeCycleModifier 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 theAbstractFilter.onMatchresult if the level of theLogEventis in the range of the configuredLevelRangeFilter.minLevelandLevelRangeFilter.maxLevelvalues, otherwise it returns theAbstractFilter.onMismatchresult.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.classFilter based on a value in the Thread Context Map (MDC).final classThis filter returns the onMatch result if there is no marker in the LogEvent.final classA filter that matches the given regular expression pattern against messages.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 theLogEventis the same or more specific than the configured level and theonMismatchvalue otherwise.final classFilters 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 TypeClassDescriptionclassShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread).classManagesFileWatchers.
org.apache.logging.log4j.core.appender.mom.jakarta.JmsAppender.