Uses of Interface
org.apache.logging.log4j.core.Appender
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.
Apache Flume Appender.
Configuration of Log4j 2.
Log4j 2 JMX support.
-
Uses of Appender in org.apache.logging.log4j.core
Modifier and TypeMethodDescriptionLogger.getAppenders()
This method is not exposed through the public API and is used primarily for unit testing.Modifier and TypeMethodDescriptionvoid
Logger.addAppender
(Appender appender) This method is not exposed through the public API and is used primarily for unit testing.void
Logger.removeAppender
(Appender appender) This method is not exposed through the public API and is used primarily for unit testing. -
Uses of Appender in org.apache.logging.log4j.core.appender
Modifier and TypeClassDescriptionclass
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.final class
Appends to one or more Appenders asynchronously.final class
Appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
No-Operation Appender that counts events.final class
The FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.final class
File Appender.final class
Sends log events over HTTP.final class
Memory Mapped File Appender.class
An Appender that ignores log events.final class
Appends log events to a given output stream using a layout.final class
File Appender.final class
An appender that writes to files and can roll over at intervals.final class
An appender that writes to random access files and can roll over at intervals.class
final class
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.class
An Appender that delivers events over socket connections.class
The Syslog Appender.final class
Appends log events to aWriter
.Modifier and TypeMethodDescriptionScriptAppenderSelector.Builder.build()
AppenderSet.createAppender
(String actualAppenderName, String sourceAppenderName) DefaultErrorHandler.getAppender()
-
Uses of Appender in org.apache.logging.log4j.core.appender.db
Modifier and TypeClassDescriptionclass
AbstractDatabaseAppender<T extends AbstractDatabaseManager>
An abstract Appender for writing events to a database of some type, be it relational or NoSQL. -
Uses of Appender in org.apache.logging.log4j.core.appender.db.jdbc
Modifier and TypeClassDescriptionfinal class
This Appender writes logging events to a relational database using standard JDBC mechanisms. -
Uses of Appender in org.apache.logging.log4j.core.appender.mom
Modifier and TypeClassDescriptionclass
Generic JMS Appender plugin for both queues and topics. -
Uses of Appender in org.apache.logging.log4j.core.appender.mom.jeromq
Modifier and TypeClassDescriptionfinal class
Sends log events to one or more ZeroMQ (JeroMQ) endpoints. -
Uses of Appender in org.apache.logging.log4j.core.appender.mom.kafka
Modifier and TypeClassDescriptionfinal class
Sends log events to an Apache Kafka topic. -
Uses of Appender in org.apache.logging.log4j.core.appender.nosql
Modifier and TypeClassDescriptionfinal class
This Appender writes logging events to a NoSQL database using a configured NoSQL provider. -
Uses of Appender in org.apache.logging.log4j.core.appender.rewrite
Modifier and TypeClassDescriptionfinal class
This Appender allows the logging event to be manipulated before it is processed by other Appenders. -
Uses of Appender in org.apache.logging.log4j.core.appender.routing
Modifier and TypeClassDescriptionfinal class
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. -
Uses of Appender in org.apache.logging.log4j.core.config
Modifier and TypeMethodDescription<T extends Appender>
TAbstractConfiguration.getAppender
(String appenderName) Returns the Appender with the specified name.<T extends Appender>
TConfiguration.getAppender
(String name) Returns the Appender with the specified name.Modifier and TypeMethodDescriptionAppenderControlArraySet.asMap()
Returns all Appenders as a Map.static ConcurrentMap<String,
Appender> AppendersPlugin.createAppenders
(Appender[] appenders) Creates a Map of the Appenders.AbstractConfiguration.getAppenders()
Returns a Map containing all the Appenders and their name.Configuration.getAppenders()
Returns a Map containing all the Appenders and their name.LoggerConfig.getAppenders()
Returns all Appenders as a Map.Modifier and TypeMethodDescriptionvoid
AbstractConfiguration.addAppender
(Appender appender) Adds an Appender to the configuration.void
Configuration.addAppender
(Appender appender) void
LoggerConfig.addAppender
(Appender appender, Level level, Filter filter) Adds an Appender to the LoggerConfig.void
AbstractConfiguration.addLoggerAppender
(Logger logger, Appender appender) Associates an Appender with a LoggerConfig.void
Configuration.addLoggerAppender
(Logger logger, Appender appender) static ConcurrentMap<String,
Appender> AppendersPlugin.createAppenders
(Appender[] appenders) Creates a Map of the Appenders.ModifierConstructorDescriptionAppenderControl
(Appender appender, Level level, Filter filter) Constructor. -
Uses of Appender in org.apache.logging.log4j.core.jmx
ModifierConstructorDescriptionAppenderAdmin
(String contextName, Appender appender) Constructs a newAppenderAdmin
with the specified contextName and appender.