Uses of Interface
org.apache.logging.log4j.core.LifeCycle
-
Packages that use LifeCycle 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.db The classes in this package and sub packages provide appenders for various types of databases and methods for accessing databases.org.apache.logging.log4j.core.appender.db.jdbc The JDBC Appender supports writing log events to a relational database using standard JDBC connections.org.apache.logging.log4j.core.appender.mom Message oriented middleware appenders.org.apache.logging.log4j.core.appender.mom.jeromq Classes and interfaces for ZeroMQ/JeroMQ support.org.apache.logging.log4j.core.appender.nosql The NoSQL Appender supports writing log events to NoSQL databases.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.config.yaml Classes and interfaces supporting configuration of Log4j 2 with YAML.org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.util Log4j 2 helper classes.org.apache.logging.log4j.web The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web application.org.apache.logging.log4j.web.appender -
-
Uses of LifeCycle in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement LifeCycle Modifier and Type Class Description classAppenderAdapter.AdapterclassFilterAdapterBinds a Log4j 1.x Filter with Log4j 2. -
Uses of LifeCycle in org.apache.log4j.config
Classes in org.apache.log4j.config that implement LifeCycle Modifier and Type Class Description classLog4j1ConfigurationClass Description goes here.classPropertiesConfigurationConstructs a configuration based on Log4j 1 properties. -
Uses of LifeCycle in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement LifeCycle Modifier and Type Class Description classXmlConfigurationClass Description goes here. -
Uses of LifeCycle in org.apache.logging.log4j.core
Subinterfaces of LifeCycle in org.apache.logging.log4j.core Modifier and Type Interface Description interfaceAppenderAppendsLogEvents.interfaceFilterInterface that must be implemented to allow custom event filtering.interfaceLifeCycle2Extends the LifeCycle interface.Classes in org.apache.logging.log4j.core that implement LifeCycle Modifier and Type Class Description classAbstractLifeCycleA life cycle to be extended.classLoggerContextThe 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 LifeCycle Modifier and Type Class Description classAbstractAppenderAbstract 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.classAsyncAppenderAppends to one or more Appenders asynchronously.classConsoleAppenderAppends log events toSystem.outorSystem.errusing a layout specified by the user.classCountingNoOpAppenderNo-Operation Appender that counts events.classFailoverAppenderThe FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.classFileAppenderFile Appender.classHttpAppenderSends log events over HTTP.classMemoryMappedFileAppenderMemory Mapped File Appender.classNullAppenderAn Appender that ignores log events.classOutputStreamAppenderAppends log events to a given output stream using a layout.classRandomAccessFileAppenderFile Appender.classRollingFileAppenderAn appender that writes to files and can roll over at intervals.classRollingRandomAccessFileAppenderAn appender that writes to random access files and can roll over at intervals.classScriptAppenderSelectorclassSocketAppenderAn Appender that delivers events over socket connections.classSyslogAppenderThe Syslog Appender.classWriterAppenderAppends 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 LifeCycle Modifier and Type Class Description classAbstractDatabaseAppender<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.jdbc Modifier and Type Interface Description interfaceConnectionSourceConfiguration element forJdbcAppender.Classes in org.apache.logging.log4j.core.appender.db.jdbc that implement LifeCycle Modifier and Type Class Description classAbstractConnectionSourceclassAbstractDriverManagerConnectionSourceAConnectionSourcethat uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String).classDataSourceConnectionSourceAJdbcAppenderconnection source that uses aDataSourceto connect to the database.classDriverManagerConnectionSourceAConnectionSourcethat uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String).classFactoryMethodConnectionSourceAJdbcAppenderconnection source that uses a public static factory method to obtain aConnectionorDataSource.classJdbcAppenderThis 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 Modifier and Type Class Description classJmsAppenderGeneric JMS Appender plugin for both queues and topics. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.mom.jeromq
Classes in org.apache.logging.log4j.core.appender.mom.jeromq that implement LifeCycle Modifier and Type Class Description classJeroMqAppenderSends log events to one or more ZeroMQ (JeroMQ) endpoints. -
Uses of LifeCycle in org.apache.logging.log4j.core.appender.nosql
Classes in org.apache.logging.log4j.core.appender.nosql that implement LifeCycle Modifier and Type Class Description classNoSqlAppenderThis 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 LifeCycle Modifier and Type Class Description classRewriteAppenderThis 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 LifeCycle Modifier and Type Class Description classAbstractTriggeringPolicyAbstract convenience class for triggering policies that extendAbstractLifeCycleand implementTriggeringPolicy.classCompositeTriggeringPolicyTriggering policy that wraps other triggering policies.classCronTriggeringPolicyRolls a file over based on a cron schedule.classNoOpTriggeringPolicyclassOnStartupTriggeringPolicyTriggers a rollover on every restart, but only if the file size is greater than zero.classSizeBasedTriggeringPolicyclassTimeBasedTriggeringPolicyRolls 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 LifeCycle Modifier and Type Class Description classIdlePurgePolicyPolicy is purging appenders that were not in use specified time in minutesclassRoutingAppenderThis 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 classRoutingAppender.CreatedRouteAppenderControlprivate static classRoutingAppender.ReferencedRouteAppenderControlprivate static classRoutingAppender.RouteAppenderControlLOG4J2-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 LifeCycle Modifier and Type Class Description classAsyncLoggerConfigAsynchronous Logger object that is created via configuration and can be combined with synchronous loggers.static classAsyncLoggerConfig.RootLoggerAn asynchronous root Logger.classAsyncLoggerConfigDisruptorHelper class decoupling theAsyncLoggerConfigclass from the LMAX Disruptor library.classAsyncLoggerContextLoggerContextthat createsAsyncLoggerobjects.(package private) classAsyncLoggerDisruptorHelper 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.config Modifier and Type Interface Description interfaceConfigurationInterface that must be implemented to create a configuration.Classes in org.apache.logging.log4j.core.config that implement LifeCycle Modifier and Type Class Description classAbstractConfigurationThe base Configuration.classAppenderControlWraps anAppenderwith details an appender implementation shouldn't need to know about.classConfigurationSchedulerclassDefaultConfigurationThe default configuration writes all output to the Console using the default logging level.classLoggerConfigLogger object that is created via configuration.static classLoggerConfig.RootLoggerThe root Logger.classNullConfigurationThis 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 LifeCycle Modifier and Type Class Description classBuiltConfigurationThis 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 Modifier and Type Class Description classCompositeConfigurationA Composite Configuration. -
Uses of LifeCycle in org.apache.logging.log4j.core.config.json
Classes in org.apache.logging.log4j.core.config.json that implement LifeCycle Modifier and Type Class Description classJsonConfigurationCreates 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 LifeCycle Modifier and Type Class Description classPropertiesConfigurationConfiguration 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 LifeCycle Modifier and Type Class Description classXmlConfigurationCreates 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 Modifier and Type Class Description classYamlConfiguration -
Uses of LifeCycle in org.apache.logging.log4j.core.filter
Subinterfaces of LifeCycle in org.apache.logging.log4j.core.filter Modifier and Type Interface Description interfaceFilterableInterface implemented by Classes that allow filtering to occur.Classes in org.apache.logging.log4j.core.filter that implement LifeCycle Modifier and Type Class Description classAbstractFilterUsers should extend this class to implement filters.classAbstractFilterableEnhances a Class by allowing it to contain Filters.classBurstFilterTheBurstFilteris a logging filter that regulates logging traffic.classCompositeFilterComposes and invokes one or more filters.classDenyAllFilterThis filter causes all logging events to be dropped.classDynamicThresholdFilterCompares against a log level that is associated with a context value.classLevelMatchFilterThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.classLevelRangeFilterThis filter returns theonMatchresult if the level in theLogEventis in the range of the configured min and max levels, otherwise it returnsonMismatchvalue .classMapFilterA Filter that operates on a Map.classMarkerFilterThis filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.classNoMarkerFilterThis filter returns the onMatch result if there is no marker in the LogEvent.classRegexFilterThis filter returns the onMatch result if the message matches the regular expression.classScriptFilterReturns the onMatch result if the script returns True and returns the onMismatch value otherwise.classStringMatchFilterThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.classStructuredDataFilterFilter based on data in a StructuredDataMessage.classThreadContextMapFilterFilter based on a value in the Thread Context Map (MDC).classThresholdFilterThis 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.classTimeFilterFilters 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 LifeCycle Modifier and Type Class Description classDefaultShutdownCallbackRegistryShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread).classWatchManagerManagesFileWatchers. -
Uses of LifeCycle in org.apache.logging.log4j.web
Subinterfaces of LifeCycle in org.apache.logging.log4j.web Modifier and Type Interface Description (package private) interfaceLog4jWebLifeCycleSpecifies an interface for initializing and deinitializing Log4j in a Java EE web application.Classes in org.apache.logging.log4j.web that implement LifeCycle Modifier and Type Class Description (package private) classLog4jWebInitializerImplThis 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 LifeCycle Modifier and Type Class Description classServletAppenderLogs using the ServletContext's log method
-