Uses of Interface
org.apache.log4j.spi.OptionHandler
Packages that use OptionHandler
Package
Description
The main log4j package.
This package is used internally.
Package for remote logging.
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
Contains various appenders, filters and other odds and ends.
XML based components.
-
Uses of OptionHandler in org.apache.log4j
Classes in org.apache.log4j that implement OptionHandlerModifier and TypeClassDescriptionclass
Abstract superclass of the other appenders in the package.class
The AsyncAppender lets users log events asynchronously.class
ConsoleAppender appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
DailyRollingFileAppender extendsFileAppender
so that the underlying file is rolled over at a user chosen frequency.class
This class is an enhanced version of org.apache.log4j.PatternLayout which was originally developed as part of the abandoned log4j 1.3 effort and has been available in the extras companion.class
FileAppender appends log events to a file.class
This layout outputs events in a HTML table.class
Extend this abstract class to create your own log layout format.class
A flexible layout configurable with pattern string.class
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.class
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.class
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.class
WriterAppender appends log events to aWriter
or anOutputStream
depending on the user's choice. -
Uses of OptionHandler in org.apache.log4j.helpers
Classes in org.apache.log4j.helpers that implement OptionHandlerModifier and TypeClassDescriptionclass
This abstract layout takes care of all the date related options and formatting work.class
TheOnlyOnceErrorHandler
implements log4j's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors. -
Uses of OptionHandler in org.apache.log4j.jdbc
Classes in org.apache.log4j.jdbc that implement OptionHandlerModifier and TypeClassDescriptionclass
The JDBCAppender provides for sending log events to a database. -
Uses of OptionHandler in org.apache.log4j.net
Classes in org.apache.log4j.net that implement OptionHandlerModifier and TypeClassDescriptionclass
A simple appender that publishes events to a JMS Topic.class
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.class
SendsLoggingEvent
objects to a remote a log server, usually aSocketNode
.class
SendsLoggingEvent
objects to a set of remote log servers, usually aSocketNodes
.class
Use SyslogAppender to send log messages to a remote syslog daemon.class
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket. -
Uses of OptionHandler in org.apache.log4j.rewrite
Classes in org.apache.log4j.rewrite that implement OptionHandlerModifier and TypeClassDescriptionclass
This appender forwards a logging request to another appender after possibly rewriting the logging event. -
Uses of OptionHandler in org.apache.log4j.spi
Subinterfaces of OptionHandler in org.apache.log4j.spiModifier and TypeInterfaceDescriptioninterface
Appenders may delegate their error handling toErrorHandlers
.Classes in org.apache.log4j.spi that implement OptionHandlerModifier and TypeClassDescriptionclass
Users should extend this class to implement customized logging event filtering. -
Uses of OptionHandler in org.apache.log4j.varia
Classes in org.apache.log4j.varia that implement OptionHandlerModifier and TypeClassDescriptionclass
This filter drops all logging events.class
This appender listens on a socket on the port specified by the Port property for a "RollOver" message.class
TheFallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified.class
This is a very simple filter based on level matching.class
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.class
A NullAppender merely exists, it never outputs a message to any device.class
This is a very simple filter based on string matching. -
Uses of OptionHandler in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement OptionHandler