All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description AbsoluteTimeDateFormat Formats aDate
in the format "HH:mm:ss,SSS" for example, "15:49:37,459".AbstractDynamicMBean Agent Deprecated. Appender Implement this interface for your own strategies for outputting log statements.AppenderAttachable Interface for attaching appenders to objects.AppenderAttachableImpl A straightforward implementation of theAppenderAttachable
interface.AppenderDynamicMBean AppenderFinalizer AppenderFinalizer
has a single method that will finalize resources associated with aLogBrokerMonitor
in the event that theLF5Appender
class is destroyed, and the class loader is garbage collected.AppenderSkeleton Abstract superclass of the other appenders in the package.AsyncAppender The AsyncAppender lets users log events asynchronously.AttributesRenderer Renderorg.xml.sax.Attributes
objects.BasicConfigurator Use this class to quickly configure the package.BoundedFIFO BoundedFIFO
serves as the bounded first-in-first-out buffer heavily used by theAsyncAppender
.Category This class has been deprecated and replaced by theLogger
subclass.Configurator Implemented by classes capable of configuring log4j using a URL.ConsoleAppender ConsoleAppender appends log events toSystem.out
orSystem.err
using a layout specified by the user.CountingQuietWriter Counts the number of bytes written.CyclicBuffer CyclicBuffer is used by other appenders to holdLoggingEvents
for immediate or differed display.DailyRollingFileAppender DailyRollingFileAppender extendsFileAppender
so that the underlying file is rolled over at a user chosen frequency.DateLayout This abstract layout takes care of all the date related options and formatting work.DateTimeDateFormat Formats aDate
in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".DefaultLF5Configurator TheDefaultLF5Configurator
provides a default configuration for theLF5Appender
.DefaultRepositorySelector DefaultThrowableRenderer Default implementation of ThrowableRenderer using Throwable.printStackTrace.DenyAllFilter This filter drops all logging events.DOMConfigurator Use this class to initialize the log4j environment using a DOM tree.EnhancedPatternLayout 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.EnhancedThrowableRenderer Enhanced implementation of ThrowableRenderer.ErrorCode This interface defines commonly encoutered error codes.ErrorHandler Appenders may delegate their error handling toErrorHandlers
.ExternallyRolledFileAppender This appender listens on a socket on the port specified by the Port property for a "RollOver" message.FallbackErrorHandler TheFallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified.FileAppender FileAppender appends log events to a file.FileWatchdog Check every now and then that a certain file has not changed.Filter Users should extend this class to implement customized logging event filtering.FormattingInfo FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.Hierarchy This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.HierarchyDynamicMBean HierarchyEventListener Listen to events occuring within aHierarchy
.HTMLLayout This layout outputs events in a HTML table.ISO8601DateFormat Formats aDate
in the format "yyyy-MM-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,459".JDBCAppender The JDBCAppender provides for sending log events to a database.JMSAppender A simple appender that publishes events to a JMS Topic.JMSSink A simple application that consumes logging events sent by aJMSAppender
.Layout Extend this abstract class to create your own log layout format.LayoutDynamicMBean Level Defines the minimum set of levels recognized by the system, that isOFF
,FATAL
,ERROR
,WARN
,INFO
DEBUG andALL
.LevelMatchFilter This is a very simple filter based on level matching.LevelRangeFilter This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.LF5Appender LF5Appender
logs events to a swing based logging console.Loader Load resources (or images) from various sources.LocationInfo The internal representation of caller location information.Log4jEntityResolver AnEntityResolver
specifically designed to returnlog4j.dtd
which is embedded within the log4j jar file.Log4JLogRecord ALog4JLogRecord
encapsulates the details of your log4jLoggingEvent
in a format usable by theLogBrokerMonitor
.Logger This is the central class in the log4j package.LoggerDynamicMBean LoggerFactory Implement this interface to create new instances of Logger or a sub-class of Logger.LoggerRepository ALoggerRepository
is used to create and retrieveLoggers
.LoggingEvent The internal representation of logging events.LogLevel The LogLevel class defines a set of standard logging levels.LogLevelFormatException 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.LogLog This class used to output log statements from within the log4j package.LogManager Use theLogManager
class to retreiveLogger
instances or to operate on the currentLoggerRepository
.LogMF This class provides parameterized logging services using the pattern syntax of java.text.MessageFormat.LogRecord LogRecord.LogRecordFilter An interface for classes which filters LogRecords.LogSF This class provides parameterized logging services using the SLF4J pattern syntax.LogXF This is a base class for LogMF and LogSF parameterized logging classes.Main The main application.MDC The MDC class is similar to theNDC
class except that it is based on a map instead of a stack.MDCKeySetExtractor MessageRenderer Renderjavax.jms.Message
objects.NDC 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.NOPLogger No-operation implementation of Logger used by NOPLoggerRepository.NOPLoggerRepository No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.NTEventLogAppender Append to the NT event log system.NullAppender A NullAppender merely exists, it never outputs a message to any device.NullEnumeration An always-empty Enumerator.ObjectRenderer Implement this interface in order to render objects as strings.OnlyOnceErrorHandler 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.OptionConverter A convenience class to convert property values to specific types.OptionHandler A string based interface to configure package components.PassingLogRecordFilter An implementation of LogRecordFilter which always returns true.PatternConverter PatternConverter is an abtract class that provides the formatting functionality that derived classes need.PatternLayout A flexible layout configurable with pattern string.PatternParser Most of the work of thePatternLayout
class is delegated to the PatternParser class.Priority Refrain from using this class directly, use theLevel
class instead.PropertyConfigurator Allows the configuration of log4j from an external file.PropertyGetter Used for inferring configuration information for a log4j's component.PropertyGetter.PropertyCallback PropertyPrinter Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a propoperties file on aPrintWriter
.PropertySetter General purpose Object property setter.PropertySetterException Thrown when an error is encountered whilst attempting to set a property using thePropertySetter
utility class.QuietWriter QuietWriter does not throw exceptions when things go wrong.RelativeTimeDateFormat Formats aDate
by printing the number of milliseconds elapsed since construction of the format.ReloadingPropertyConfigurator RendererMap Map class objects to anObjectRenderer
.RendererSupport RepositorySelector TheLogManager
uses one (and only one)RepositorySelector
implementation to select theLoggerRepository
for a particular application context.Roller A simple application to send roll over messages to a potentially remoteExternallyRolledFileAppender
.RollingFileAppender RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.RootCategory Deprecated. Replaced byRootLogger
.RootLogger RootLogger sits at the top of the logger hierachy.SAXErrorHandler SimpleLayout SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.SimpleSocketServer A simpleSocketNode
based server.SMTPAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.SocketAppender SendsLoggingEvent
objects to a remote a log server, usually aSocketNode
.SocketHubAppender SendsLoggingEvent
objects to a set of remote log servers, usually aSocketNodes
.SocketNode ReadLoggingEvent
objects sent from a remote client using Sockets (TCP).SocketServer ASocketNode
based server that uses a different hierarchy for each client.StartLogFactor5 Starts an instance of the LogFactor5 console for off-line viewing.StringMatchFilter This is a very simple filter based on string matching.SyslogAppender Use SyslogAppender to send log messages to a remote syslog daemon.SyslogQuietWriter SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.SyslogWriter SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.TelnetAppender The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.ThreadGroupRenderer RenderThreadGroup
objects in a format similar to the information output by theThreadGroup.list()
method.ThreadLocalMap ThreadLocalMap
extendsInheritableThreadLocal
to bequeath a copy of the hashtable of the MDC of the parent thread.ThrowableInformation ThrowableInformation is log4j's internal representation of throwables.ThrowableRenderer Implemented by classes that render instances of java.lang.Throwable (exceptions and errors) into a string representation.ThrowableRendererSupport Implemented by logger repositories that support configurable rendering of Throwables.Transform Utility class for transforming strings.TriggeringEventEvaluator Implementions of this interface allow certain appenders to decide when to perform an appender specific action.TTCCLayout TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.UnrecognizedElementHandler When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered.UtilLoggingLevel An extension of the Level class that provides support for java.util.logging Levels.WriterAppender WriterAppender appends log events to aWriter
or anOutputStream
depending on the user's choice.XMLLayout The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.ZeroConfSupport