Package | Description |
---|---|
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.mom.kafka |
Classes and interfaces for Kafka appender 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.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.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
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 |
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 |
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 |
KafkaAppender
Sends log events to an Apache Kafka topic.
|
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 |
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.
|
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 | Class and Description |
---|---|
class |
LoggerConfig
Logger object that is created via configuration.
|
static class |
LoggerConfig.RootLogger
The root Logger.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCsvLayout
A superclass for Comma-Separated Value (CSV) layouts.
|
class |
AbstractStringLayout
Abstract base class for Layouts that result in a String.
|
class |
CsvLogEventLayout
A Comma-Separated Value (CSV) layout to log events.
|
class |
CsvParameterLayout
A Comma-Separated Value (CSV) layout to log event parameters.
|
class |
GelfLayout
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
|
class |
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.
|
class |
JsonLayout
Appends a series of JSON events as strings serialized as bytes.
|
class |
MarkerPatternSelector
Selects the pattern to use based on the Marker in the LogEvent.
|
class |
PatternLayout
A flexible layout configurable with pattern string.
|
class |
Rfc5424Layout
Formats a log event in accordance with RFC 5424.
|
class |
ScriptPatternSelector
Selects the pattern to use based on the Marker in the LogEvent.
|
class |
SyslogLayout
Formats a log event as a BSD Log record.
|
class |
XmlLayout
Appends a series of
event elements as defined in the log4j.dtd. |
class |
YamlLayout
Appends a series of YAML events as strings serialized as bytes.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNamePatternConverter
Formats the class name of the site of the logging request.
|
class |
FullLocationPatternConverter
Format the event's line location information.
|
class |
LineLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
MethodLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
Copyright © 1999-2021 The 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.