Uses of Interface
org.apache.logging.log4j.core.Appender
-
Packages that use Appender Package Description org.apache.log4j.bridge org.apache.log4j.legacy.core 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.routing Apache Flume Appender.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.jmx Log4j 2 JMX support.org.apache.logging.log4j.web.appender -
-
Uses of Appender in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement Appender Modifier and Type Class Description classAppenderAdapter.AdapterFields in org.apache.log4j.bridge declared as Appender Modifier and Type Field Description private AppenderAppenderWrapper. appenderMethods in org.apache.log4j.bridge that return Appender Modifier and Type Method Description static AppenderAppenderAdapter. adapt(Appender appender)Adapts a Log4j 1.x appender into a Log4j 2.x appender.AppenderAppenderWrapper. getAppender()Gets the wrapped Core Appender.Methods in org.apache.log4j.bridge with parameters of type Appender Modifier and Type Method Description static AppenderAppenderWrapper. adapt(Appender appender)Adapts a Log4j 2.x appender into a Log4j 1.x appender.Constructors in org.apache.log4j.bridge with parameters of type Appender Constructor Description AppenderWrapper(Appender appender)Constructs a new instance for a Core Appender. -
Uses of Appender in org.apache.log4j.legacy.core
Methods in org.apache.log4j.legacy.core that return types with arguments of type Appender Modifier and Type Method Description static java.util.Map<java.lang.String,Appender>CategoryUtil. getAppenders(Logger logger)Gets the appenders attached directly to this logger.private static java.util.Map<java.lang.String,Appender>CategoryUtil. getDirectAppenders(Logger logger)Methods in org.apache.log4j.legacy.core with parameters of type Appender Modifier and Type Method Description static voidCategoryUtil. addAppender(Logger logger, Appender appender)Adds an appender to the logger. -
Uses of Appender in org.apache.logging.log4j.core
Fields in org.apache.logging.log4j.core declared as Appender Modifier and Type Field Description static Appender[]Appender. EMPTY_ARRAYEmpty array.Methods in org.apache.logging.log4j.core that return types with arguments of type Appender Modifier and Type Method Description java.util.Map<java.lang.String,Appender>Logger. getAppenders()This method is not exposed through the public API and is used primarily for unit testing.Methods in org.apache.logging.log4j.core with parameters of type Appender Modifier and Type Method Description voidLogger. addAppender(Appender appender)This method is not exposed through the public API and is used primarily for unit testing.voidLogger. 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
Classes in org.apache.logging.log4j.core.appender that implement Appender 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.Fields in org.apache.logging.log4j.core.appender declared as Appender Modifier and Type Field Description private AppenderDefaultErrorHandler. appenderMethods in org.apache.logging.log4j.core.appender that return Appender Modifier and Type Method Description AppenderScriptAppenderSelector.Builder. build()AppenderAppenderSet. createAppender(java.lang.String actualAppenderName, java.lang.String sourceAppenderName)AppenderDefaultErrorHandler. getAppender()Methods in org.apache.logging.log4j.core.appender that return types with arguments of type Appender Modifier and Type Method Description java.util.List<Appender>AsyncAppender. getAppenders()Gets all Appenders.(package private) java.util.List<Appender>AsyncAppenderEventDispatcher. getAppenders()Gets all Appenders.Constructors in org.apache.logging.log4j.core.appender with parameters of type Appender Constructor Description DefaultErrorHandler(Appender appender) -
Uses of Appender in org.apache.logging.log4j.core.appender.db
Classes in org.apache.logging.log4j.core.appender.db that implement Appender 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 Appender in org.apache.logging.log4j.core.appender.db.jdbc
Classes in org.apache.logging.log4j.core.appender.db.jdbc that implement Appender Modifier and Type Class Description classJdbcAppenderThis Appender writes logging events to a relational database using standard JDBC mechanisms. -
Uses of Appender in org.apache.logging.log4j.core.appender.mom
Classes in org.apache.logging.log4j.core.appender.mom that implement Appender Modifier and Type Class Description classJmsAppenderGeneric JMS Appender plugin for both queues and topics. -
Uses of Appender in org.apache.logging.log4j.core.appender.mom.jeromq
Classes in org.apache.logging.log4j.core.appender.mom.jeromq that implement Appender Modifier and Type Class Description classJeroMqAppenderSends log events to one or more ZeroMQ (JeroMQ) endpoints. -
Uses of Appender in org.apache.logging.log4j.core.appender.nosql
Classes in org.apache.logging.log4j.core.appender.nosql that implement Appender Modifier and Type Class Description classNoSqlAppenderThis Appender writes logging events to a NoSQL database using a configured NoSQL provider. -
Uses of Appender in org.apache.logging.log4j.core.appender.rewrite
Classes in org.apache.logging.log4j.core.appender.rewrite that implement Appender Modifier and Type Class Description classRewriteAppenderThis 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
Classes in org.apache.logging.log4j.core.appender.routing that implement Appender Modifier and Type Class Description classRoutingAppenderThis 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.Methods in org.apache.logging.log4j.core.appender.routing that return Appender Modifier and Type Method Description private AppenderRoutingAppender. createAppender(Route route, LogEvent event)Constructors in org.apache.logging.log4j.core.appender.routing with parameters of type Appender Constructor Description CreatedRouteAppenderControl(Appender appender)ReferencedRouteAppenderControl(Appender appender)RouteAppenderControl(Appender appender) -
Uses of Appender in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as Appender Modifier and Type Field Description private AppenderAppenderControl. appenderFields in org.apache.logging.log4j.core.config with type parameters of type Appender Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,Appender>AbstractConfiguration. appendersMethods in org.apache.logging.log4j.core.config with type parameters of type Appender Modifier and Type Method Description <T extends Appender>
TAbstractConfiguration. getAppender(java.lang.String appenderName)Returns the Appender with the specified name.<T extends Appender>
TConfiguration. getAppender(java.lang.String name)Returns the Appender with the specified name.Methods in org.apache.logging.log4j.core.config that return Appender Modifier and Type Method Description AppenderAppenderControl. getAppender()Returns the Appender.Methods in org.apache.logging.log4j.core.config that return types with arguments of type Appender Modifier and Type Method Description java.util.Map<java.lang.String,Appender>AppenderControlArraySet. asMap()Returns all Appenders as a Map.static java.util.concurrent.ConcurrentMap<java.lang.String,Appender>AppendersPlugin. createAppenders(Appender[] appenders)Creates a Map of the Appenders.java.util.Map<java.lang.String,Appender>AbstractConfiguration. getAppenders()Returns a Map containing all the Appenders and their name.java.util.Map<java.lang.String,Appender>Configuration. getAppenders()Returns a Map containing all the Appenders and their name.java.util.Map<java.lang.String,Appender>LoggerConfig. getAppenders()Returns all Appenders as a Map.private java.util.List<Appender>AbstractConfiguration. getAsyncAppenders(Appender[] all)Methods in org.apache.logging.log4j.core.config with parameters of type Appender Modifier and Type Method Description voidAbstractConfiguration. addAppender(Appender appender)Adds an Appender to the configuration.voidConfiguration. addAppender(Appender appender)voidLoggerConfig. addAppender(Appender appender, Level level, Filter filter)Adds an Appender to the LoggerConfig.voidAbstractConfiguration. addLoggerAppender(Logger logger, Appender appender)Associates an Appender with a LoggerConfig.voidConfiguration. addLoggerAppender(Logger logger, Appender appender)static java.util.concurrent.ConcurrentMap<java.lang.String,Appender>AppendersPlugin. createAppenders(Appender[] appenders)Creates a Map of the Appenders.private java.util.List<Appender>AbstractConfiguration. getAsyncAppenders(Appender[] all)Constructors in org.apache.logging.log4j.core.config with parameters of type Appender Constructor Description AppenderControl(Appender appender, Level level, Filter filter)Constructor. -
Uses of Appender in org.apache.logging.log4j.core.jmx
Fields in org.apache.logging.log4j.core.jmx declared as Appender Modifier and Type Field Description private AppenderAppenderAdmin. appenderConstructors in org.apache.logging.log4j.core.jmx with parameters of type Appender Constructor Description AppenderAdmin(java.lang.String contextName, Appender appender)Constructs a newAppenderAdminwith the specified contextName and appender. -
Uses of Appender in org.apache.logging.log4j.web.appender
Classes in org.apache.logging.log4j.web.appender that implement Appender Modifier and Type Class Description classServletAppenderLogs using the ServletContext's log method
-