Package | Description |
---|---|
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.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
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.rewrite |
Apache Flume Appender.
|
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.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.nosql.appender |
The NoSQL Appender supports writing log events to NoSQL databases.
|
org.apache.logging.log4j.web.appender |
Modifier and Type | Class and Description |
---|---|
class |
LoggerContext
The LoggerContext is the anchor for the logging system.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAppender
Abstract base class for Appenders.
|
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 to
System.out or System.err using a layout specified by the user. |
class |
FailoverAppender
The FailoverAppender will capture exceptions in an Appender and then route the event
to a different appender.
|
class |
FileAppender
File Appender.
|
class |
MemoryMappedFileAppender
Memory Mapped File Appender.
|
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 |
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 a
Writer . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabaseAppender<T extends AbstractDatabaseManager>
An abstract Appender for writing events to a database of some type, be it relational or NoSQL.
|
Modifier and Type | Class and Description |
---|---|
class |
JdbcAppender
This Appender writes logging events to a relational database using standard JDBC mechanisms.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaAppender
This Appender writes logging events to a relational database using the Java Persistence API.
|
Modifier and Type | Class and Description |
---|---|
class |
JmsAppender
Generic JMS Appender plugin for both queues and topics.
|
Modifier and Type | Class and Description |
---|---|
class |
JeroMqAppender
Sends log events to one or more ZeroMQ (JeroMQ) endpoints.
|
Modifier and Type | Class and Description |
---|---|
class |
RewriteAppender
This Appender allows the logging event to be manipulated before it is processed by other Appenders.
|
Modifier and Type | Class and Description |
---|---|
class |
IdlePurgePolicy
Policy is purging appenders that were not in use specified time in minutes
|
class |
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.
|
Modifier and Type | Class and 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 |
AsyncLoggerContext
LoggerContext that creates AsyncLogger objects. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConfiguration
The base Configuration.
|
class |
AppenderControl
Wraps an
Appender 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.
|
Modifier and Type | Class and Description |
---|---|
class |
BuiltConfiguration
This is the general version of the Configuration created by the Builder.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonConfiguration
Creates a Node hierarchy from a JSON file.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertiesConfiguration
Configuration created from a properties file.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlConfiguration
Creates a Node hierarchy from an XML file.
|
Modifier and Type | Class and Description |
---|---|
class |
YamlConfiguration |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilter
Users should extend this class to implement filters.
|
class |
AbstractFilterable
Enhances a Class by allowing it to contain Filters.
|
class |
BurstFilter
The
BurstFilter is a logging filter that regulates logging traffic. |
class |
CompositeFilter
Composes and invokes one or more filters.
|
class |
DynamicThresholdFilter
Compare against a log level that is associated with an MDC value.
|
class |
LevelRangeFilter
This filter returns the onMatch result if the level in the LogEvent is in the
range of the configured min and max levels, otherwise it returns onMismatch
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 |
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 |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
WatchManager
Manages FileWatchers.
|
Modifier and Type | Class and Description |
---|---|
class |
NoSqlAppender
This Appender writes logging events to a NoSQL database using a configured NoSQL provider.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletAppender
Logs using the ServletContext's log method
|
Copyright © 1999-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.