All Classes and Interfaces

Class
Description
Formats a Date in the format "HH:mm:ss,SSS" for example, "15:49:37,459".
 
Deprecated. 
Implement this interface for your own strategies for outputting log statements.
Interface for attaching appenders to objects.
A straightforward implementation of the AppenderAttachable interface.
 
AppenderFinalizer has a single method that will finalize resources associated with a LogBrokerMonitor in the event that the LF5Appender class is destroyed, and the class loader is garbage collected.
Abstract superclass of the other appenders in the package.
The AsyncAppender lets users log events asynchronously.
Render org.xml.sax.Attributes objects.
Use this class to quickly configure the package.
BoundedFIFO serves as the bounded first-in-first-out buffer heavily used by the AsyncAppender.
This class has been deprecated and replaced by the Logger subclass.
Implemented by classes capable of configuring log4j using a URL.
ConsoleAppender appends log events to System.out or System.err using a layout specified by the user.
Counts the number of bytes written.
CyclicBuffer is used by other appenders to hold LoggingEvents for immediate or differed display.
DailyRollingFileAppender extends FileAppender so that the underlying file is rolled over at a user chosen frequency.
This abstract layout takes care of all the date related options and formatting work.
Formats a Date in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".
The DefaultLF5Configurator provides a default configuration for the LF5Appender.
 
Default implementation of ThrowableRenderer using Throwable.printStackTrace.
This filter drops all logging events.
Use this class to initialize the log4j environment using a DOM tree.
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.
Enhanced implementation of ThrowableRenderer.
This interface defines commonly encoutered error codes.
Appenders may delegate their error handling to ErrorHandlers.
This appender listens on a socket on the port specified by the Port property for a "RollOver" message.
The FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be specified.
FileAppender appends log events to a file.
Check every now and then that a certain file has not changed.
Users should extend this class to implement customized logging event filtering.
Extended ObjectInputStream that only allows certain classes to be deserialized.
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
 
HardenedObjectInputStream restricts the set of classes that can be deserialized to a set of explicitly whitelisted classes.
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
 
Listen to events occuring within a Hierarchy.
This layout outputs events in a HTML table.
Formats a Date in the format "yyyy-MM-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,459".
The JDBCAppender provides for sending log events to a database.
A simple appender that publishes events to a JMS Topic.
A simple application that consumes logging events sent by a JMSAppender.
 
Extend this abstract class to create your own log layout format.
 
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFOinvalid input: '<'/code, DEBUG and ALL.
This is a very simple filter based on level matching.
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
LF5Appender logs events to a swing based logging console.
Load resources (or images) from various sources.
The internal representation of caller location information.
An EntityResolver specifically designed to return log4j.dtd which is embedded within the log4j jar file.
A Log4JLogRecord encapsulates the details of your log4j LoggingEvent in a format usable by the LogBrokerMonitor.
This is the central class in the log4j package.
 
Implement this interface to create new instances of Logger or a sub-class of Logger.
A LoggerRepository is used to create and retrieve Loggers.
The internal representation of logging events.
The LogLevel class defines a set of standard logging levels.
Thrown to indicate that the client has attempted to convert a string to one the LogLevel types, but the string does not have the appropriate format.
This class used to output log statements from within the log4j package.
Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository.
This class provides parameterized logging services using the pattern syntax of java.text.MessageFormat.
LogRecord.
An interface for classes which filters LogRecords.
This class provides parameterized logging services using the SLF4J pattern syntax.
This is a base class for LogMF and LogSF parameterized logging classes.
The main application.
The MDC class is similar to the NDC class except that it is based on a map instead of a stack.
 
Render javax.jms.Message objects.
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patterns for Logging Diagnostic Messages" part of the book "Pattern Languages of Program Design 3" edited by Martin et al.
No-operation implementation of Logger used by NOPLoggerRepository.
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.
Append to the NT event log system.
A NullAppender merely exists, it never outputs a message to any device.
An always-empty Enumerator.
Implement this interface in order to render objects as strings.
The OnlyOnceErrorHandler 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.
A convenience class to convert property values to specific types.
A string based interface to configure package components.
An implementation of LogRecordFilter which always returns true.
PatternConverter is an abtract class that provides the formatting functionality that derived classes need.
A flexible layout configurable with pattern string.
Most of the work of the PatternLayout class is delegated to the PatternParser class.
Refrain from using this class directly, use the Level class instead.
Allows the configuration of log4j from an external file.
Used for inferring configuration information for a log4j's component.
 
Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a propoperties file on a PrintWriter.
General purpose Object property setter.
Thrown when an error is encountered whilst attempting to set a property using the PropertySetter utility class.
QuietWriter does not throw exceptions when things go wrong.
Formats a Date by printing the number of milliseconds elapsed since construction of the format.
 
Map class objects to an ObjectRenderer.
 
The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
A simple application to send roll over messages to a potentially remote ExternallyRolledFileAppender.
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
Deprecated.
Replaced by RootLogger.
RootLogger sits at the top of the logger hierachy.
 
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.
A simple SocketNode based server.
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
Sends LoggingEvent objects to a remote a log server, usually a SocketNode.
Sends LoggingEvent objects to a set of remote log servers, usually a SocketNodes.
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
A SocketNode based server that uses a different hierarchy for each client.
Starts an instance of the LogFactor5 console for off-line viewing.
This is a very simple filter based on string matching.
Use SyslogAppender to send log messages to a remote syslog daemon.
SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.
SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.
Render ThreadGroup objects in a format similar to the information output by the ThreadGroup.list() method.
ThreadLocalMap extends InheritableThreadLocal to bequeath a copy of the hashtable of the MDC of the parent thread.
ThrowableInformation is log4j's internal representation of throwables.
Implemented by classes that render instances of java.lang.Throwable (exceptions and errors) into a string representation.
Implemented by logger repositories that support configurable rendering of Throwables.
Utility class for transforming strings.
Implementions of this interface allow certain appenders to decide when to perform an appender specific action.
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered.
An extension of the Level class that provides support for java.util.logging Levels.
WriterAppender appends log events to a Writer or an OutputStream depending on the user's choice.
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.