Interface | Description |
---|---|
Appender |
Implement this interface for your own strategies for outputting log
statements.
|
Class | Description |
---|---|
AppenderSkeleton |
The base class for Appenders in Log4j 1.
|
AppenderSkeleton.NoOpErrorHandler | |
BasicConfigurator |
Configures the package.
|
Category |
Implementation of the Category class for compatibility, despite it having been deprecated a long, long time ago.
|
ConsoleAppender |
Placeholder for Log4j 1.2 Console Appender.
|
DefaultThrowableRenderer |
Default implementation of
ThrowableRenderer using Throwable.printStackTrace(PrintWriter) . |
FileAppender |
FileAppender appends log events to a file.
|
Hierarchy |
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
|
Layout | |
Level |
Defines the minimum set of levels recognized by the system, that is
OFF , FATAL , ERROR ,
WARN , INFO , DEBUG
and ALL . |
Logger | |
LogManager |
The main entry point to Log4j 1.
|
MDC |
This class behaves just like Log4j's MDC would - and so can cause issues with the redeployment of web
applications if the Objects stored in the threads Map cannot be garbage collected.
|
NDC |
This class does not use generics to provide better source compatibility.
|
PatternLayout | |
Priority |
Refrain from using this class directly, use
the
Level class instead. |
PropertyConfigurator |
Configures Log4j from properties.
|
RenderedMessage |
Implements object rendering for Log4j 1.x compatibility.
|
RollingFileAppender |
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
|
SimpleLayout |
Simple-layout.
|
VectorAppender |
Appends logging events to a vector.
|
WriterAppender |
WriterAppender appends log events to a
Writer or an
OutputStream depending on the user's choice. |
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.