Package org.apache.log4j
package org.apache.log4j
Log4j 1.x compatibility layer.
-
ClassDescriptionImplement this interface for your own strategies for outputting log statements.The base class for Appenders in Log4j 1.Configures the package.Implementation of the Category class for compatibility, despite it having been deprecated a long, long time ago.CategoryKey is a wrapper for String that apparently accelerated hash table lookup in early JVM's.Placeholder for Log4j 1.2 Console Appender.Default implementation of
ThrowableRenderer
usingThrowable.printStackTrace(PrintWriter)
.FileAppender appends log events to a file.This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.Private LogManager.Defines the minimum set of levels recognized by the system, that isOFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
andALL
.The main entry point to Log4j 1.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.This class does not use generics to provide better source compatibility.Refrain from using this class directly, use theLevel
class instead.Configures Log4j from properties.Implements object rendering for Log4j 1.x compatibility.RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.Simple-layout.Appends logging events to a vector.WriterAppender appends log events to aWriter
or anOutputStream
depending on the user's choice.