## Uses of Interface
org.apache.log4j.Appender

Packages that use Appender
org.apache.log4j: The main log4j package.
org.apache.log4j.helpers: This package is used internally.
org.apache.log4j.jdbc: The JDBCAppender provides for sending log events to a database.
org.apache.log4j.jmx: This package lets you manage log4j settings using JMX.
org.apache.log4j.lf5
org.apache.log4j.net: Package for remote logging.
org.apache.log4j.nt: Package for NT event logging.
org.apache.log4j.spi: Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.apache.log4j.varia: Contains various appenders, filters and other odds and ends.
org.apache.log4j.xml: XML based components.

Uses of Appender in org.apache.log4j

Classes in org.apache.log4j that implement Appender
`class` `AppenderSkeleton` Abstract superclass of the other appenders in the package.
`class` `AsyncAppender` The AsyncAppender lets users log events asynchronously.
`class` `ConsoleAppender` ConsoleAppender appends log events to `System.out` or `System.err` using a layout specified by the user.
`class` `DailyRollingFileAppender` DailyRollingFileAppender extends `FileAppender` so that the underlying file is rolled over at a user chosen frequency.
`class` `FileAppender` FileAppender appends log events to a file.
`class` `RollingFileAppender` RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
`class` `WriterAppender` WriterAppender appends log events to a `Writer` or an `OutputStream` depending on the user's choice.

Methods in org.apache.log4j that return Appender
`Appender` `AsyncAppender.getAppender(java.lang.String name)` Get appender by name.
`Appender` `Category.getAppender(java.lang.String name)` Look for the appender named as `name`.

Methods in org.apache.log4j with parameters of type Appender
`void` `AsyncAppender.addAppender(Appender newAppender)` Add appender.
`void` `Category.addAppender(Appender newAppender)` Add `newAppender` to the list of appenders of this Category instance.
`static void` `BasicConfigurator.configure(Appender appender)` Add `appender` to the root category.
`void` `Hierarchy.fireAddAppenderEvent(Category logger, Appender appender)`
`boolean` `AsyncAppender.isAttached(Appender appender)` Determines if specified appender is attached.
`boolean` `Category.isAttached(Appender appender)` Is the appender passed as parameter attached to this category?
`void` `AsyncAppender.removeAppender(Appender appender)` Removes an appender.
`void` `Category.removeAppender(Appender appender)` Remove the appender passed as parameter form the list of appenders.

Uses of Appender in org.apache.log4j.helpers

Methods in org.apache.log4j.helpers that return Appender
`Appender` `AppenderAttachableImpl.getAppender(java.lang.String name)` Look for an attached appender named as `name`.

Methods in org.apache.log4j.helpers with parameters of type Appender
`void` `AppenderAttachableImpl.addAppender(Appender newAppender)` Attach an appender.
`boolean` `AppenderAttachableImpl.isAttached(Appender appender)` Returns `true` if the specified appender is in the list of attached appenders, `false` otherwise.
`void` `AppenderAttachableImpl.removeAppender(Appender appender)` Remove the appender passed as parameter form the list of attached appenders.
`void` `OnlyOnceErrorHandler.setAppender(Appender appender)` Does not do anything.
`void` `OnlyOnceErrorHandler.setBackupAppender(Appender appender)` Does not do anything.

Uses of Appender in org.apache.log4j.jdbc

Classes in org.apache.log4j.jdbc that implement Appender
`class` `JDBCAppender` WARNING: This version of JDBCAppender is very likely to be completely replaced in the future.

Uses of Appender in org.apache.log4j.jmx

Methods in org.apache.log4j.jmx with parameters of type Appender
`void` `HierarchyDynamicMBean.addAppenderEvent(Category logger, Appender appender)`
`void` `HierarchyDynamicMBean.removeAppenderEvent(Category cat, Appender appender)`

Constructors in org.apache.log4j.jmx with parameters of type Appender
`AppenderDynamicMBean(Appender appender)`

Uses of Appender in org.apache.log4j.lf5

Classes in org.apache.log4j.lf5 that implement Appender
`class` `LF5Appender` `LF5Appender` logs events to a swing based logging console.

Uses of Appender in org.apache.log4j.net

Classes in org.apache.log4j.net that implement Appender
`class` `JMSAppender` A simple appender that publishes events to a JMS Topic.
`class` `SMTPAppender` Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
`class` `SocketAppender` Sends `LoggingEvent` objects to a remote a log server, usually a `SocketNode`.
`class` `SocketHubAppender` Sends `LoggingEvent` objects to a set of remote log servers, usually a `SocketNodes`.
`class` `SyslogAppender` Use SyslogAppender to send log messages to a remote syslog daemon.
`class` `TelnetAppender` The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.

Uses of Appender in org.apache.log4j.nt

Classes in org.apache.log4j.nt that implement Appender
`class` `NTEventLogAppender` Append to the NT event log system.

Uses of Appender in org.apache.log4j.spi

Methods in org.apache.log4j.spi that return Appender
`Appender` `NOPLogger.getAppender(java.lang.String name)` Look for the appender named as `name`.
`Appender` `AppenderAttachable.getAppender(java.lang.String name)` Get an appender by name.

Methods in org.apache.log4j.spi with parameters of type Appender
`void` `NOPLogger.addAppender(Appender newAppender)` Add `newAppender` to the list of appenders of this Category instance.
`void` `AppenderAttachable.addAppender(Appender newAppender)` Add an appender.
`void` `HierarchyEventListener.addAppenderEvent(Category cat, Appender appender)`
`void` `NOPLoggerRepository.fireAddAppenderEvent(Category logger, Appender appender)`
`void` `LoggerRepository.fireAddAppenderEvent(Category logger, Appender appender)`
`boolean` `NOPLogger.isAttached(Appender appender)` Is the appender passed as parameter attached to this category?
`boolean` `AppenderAttachable.isAttached(Appender appender)` Returns `true` if the specified appender is in list of attached attached, `false` otherwise.
`void` `NOPLogger.removeAppender(Appender appender)` Remove the appender passed as parameter form the list of appenders.
`void` `AppenderAttachable.removeAppender(Appender appender)` Remove the appender passed as parameter from the list of appenders.
`void` `HierarchyEventListener.removeAppenderEvent(Category cat, Appender appender)`
`void` `ErrorHandler.setAppender(Appender appender)` Set the appender for which errors are handled.
`void` `ErrorHandler.setBackupAppender(Appender appender)` Set the appender to falkback upon in case of failure.

Uses of Appender in org.apache.log4j.varia

Classes in org.apache.log4j.varia that implement Appender
`class` `ExternallyRolledFileAppender` This appender listens on a socket on the port specified by the Port property for a "RollOver" message.
`class` `NullAppender` A NullAppender merely exists, it never outputs a message to any device.

Methods in org.apache.log4j.varia with parameters of type Appender
`void` `FallbackErrorHandler.setAppender(Appender primary)` The appender to which this error handler is attached.
`void` `FallbackErrorHandler.setBackupAppender(Appender backup)` Set the backup appender.

Uses of Appender in org.apache.log4j.xml

Methods in org.apache.log4j.xml that return Appender
`protected Appender` `DOMConfigurator.findAppenderByName(org.w3c.dom.Document doc, java.lang.String appenderName)` Used internally to parse appenders by IDREF name.
`protected Appender` `DOMConfigurator.findAppenderByReference(org.w3c.dom.Element appenderRef)` Used internally to parse appenders by IDREF element.
`protected Appender` `DOMConfigurator.parseAppender(org.w3c.dom.Element appenderElement)` Used internally to parse an appender element.

Methods in org.apache.log4j.xml with parameters of type Appender
`protected void` `DOMConfigurator.parseErrorHandler(org.w3c.dom.Element element, Appender appender)` Used internally to parse an `ErrorHandler` element.
`protected void` `DOMConfigurator.parseFilters(org.w3c.dom.Element element, Appender appender)` Used internally to parse a filter element.

Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.