log4j 1.2.2 is now available in TAR.GZ format
or in ZIP
format.
Minor release 1.2.2 responds to bug #9305. When loading
component classes, log4j will now first attempt to use the
Thread Context Loader and if that fails, it will use
Class.forName. In log4j 1.2 and 1.2.1, only Class.forName was
used and the TCL was ignored.
The 1.2.1 (minor release) fixed bug #9155 reported by Nicko
Cadell. With the exception of this bug fix and some
documentation improvements, it is identical to log4j 1.2
final.
In addition to many performance improvements, bug fixes, and
other small enhancements, log4j 1.2 adds JMX support, Mapped
Diagnostic Contexts, JDBC logging, graphical log viewer
(chainsaw), and buffered IO capability. One important change
is the replacement of the Category
class with
Logger
class and the Priority
class
with the Level
class in order to facilitate
migrating from the JDK 1.4 logging API to log4j.
Version 1.2 is the 22nd major public release of log4j. All
changes except the removal of deprecated methods are backward
compatible such that log4j 1.2 can be considered a drop in
replacement for log4j 1.1.3. The only exception is the
renaming of the CategoryFactory
class to
LoggerFactory
class such that subclasses of
Category
class to be modified and recompiled. By
the way, we strongly discourage casual users from subclassing
the Category
or Logger
classes.
We also maintain a list of earlier
versions of log4j for download, intended for the curious
paleontologist.