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.appender |
Log4j 2 Appenders.
|
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.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.filter |
Log4j 2 Filter support.
|
Modifier and Type | Class and Description |
---|---|
class |
AppenderAdapter.Adapter |
Modifier and Type | Class and Description |
---|---|
class |
Log4j1Configuration
Class Description goes here.
|
class |
PropertiesConfiguration
Construct a configuration based on Log4j 1 properties.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlConfiguration
Class Description goes here.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAppender
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.
|
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 |
CountingNoOpAppender
No-Operation Appender that counts events.
|
class |
FailoverAppender
The FailoverAppender will capture exceptions in an Appender and then route the event
to a different appender.
|
class |
FileAppender
File Appender.
|
class |
HttpAppender
Sends log events over HTTP.
|
class |
MemoryMappedFileAppender
Memory Mapped File Appender.
|
class |
NullAppender
An Appender that ignores log events.
|
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 |
ScriptAppenderSelector |
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 |
RewriteAppender
This Appender allows the logging event to be manipulated before it is processed by other Appenders.
|
Modifier and Type | Class and Description |
---|---|
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.
|
private static class |
RoutingAppender.CreatedRouteAppenderControl |
private static class |
RoutingAppender.ReferencedRouteAppenderControl |
private static class |
RoutingAppender.RouteAppenderControl
LOG4J2-2629: PurgePolicy implementations can invoke
RoutingAppender.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. |
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Configuration
Interface that must be implemented to create a configuration.
|
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 |
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 |
CompositeConfiguration
A Composite Configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonConfiguration
Creates a Node hierarchy from a JSON file.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilterable
Enhances a Class by allowing it to contain Filters.
|