Package org.apache.log4j
Log4j 1.x compatibility layer.
-
Interface Summary Interface Description Appender Implement this interface for your own strategies for outputting log statements. -
Class Summary 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.CategoryKey CategoryKey is a wrapper for String that apparently accelerated hash table lookup in early JVM's.ConsoleAppender Placeholder for Log4j 1.2 Console Appender.DefaultCategoryFactory DefaultThrowableRenderer Default implementation ofThrowableRenderer
usingThrowable.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.Hierarchy.PrivateLoggerAdapter Hierarchy.PrivateLogManager Private LogManager.Layout Level Defines the minimum set of levels recognized by the system, that isOFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
andALL
.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 theLevel
class instead.PropertyConfigurator Configures Log4j from properties.PropertyConfigurator.NameValue PropertyConfigurator.PropertyWatchdog ProvisionNode 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 aWriter
or anOutputStream
depending on the user's choice.