Log4j Project Introduction Download Documentation Plan Wiki Contact us Contributors History Jakarta (parent project) Home page News Mission Guidelines FAQs Translations Korean Japanese |
log4j version 1.2.8
log4j 1.2.8 is available in TAR.GZ format or in ZIP format. As of release 1.2.8 log4j now searches for the file log4j.xml as well as the file log4j.properties during initialization. See the HISTORY file for the firther details. 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 must be modified and recompiled. The recommended pattern for extending the `Logger` class is wrapping. Moreover, 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 -- there seems to be quite a few of them!
Third-party extensions (listed in alphabetical order)
Chainsaw Chainsaw is now integrated with log4j and ships with the official distribution. Chainsaw is a graphical log viewer and filter for the log4j package. It listens for LoggingEvent objects sent using the SocketAppender and displays them in a table. Chainsaw also supports loading events from files in `XMLLayout` format. JDBCAppender A powerful `JDBCAppender` by Danko Mannhaupt who continues the work of Thomas Fenner. You might find this JDBCAppender more suitable then the one that ships with log4j 1.2. log4jME Log4jME, or log4j MiniEdition, is based on the same code as log4j. However, as the name indicates the mini-edition is much smaller. It offers the same client interface such that code compiled for log4jME is 100% compatible with log4j standard edition. You can choose to upgrade to log4j standard edition at any time by replacing log4jME.jar with log4j.jar in your classpath. LogWeb (commercial) Log4Web is a J2EE web application, designed to web-enable system log files that have been generated by log4j. Lumbermill Lumbermill is a Swing(tm) log processing and distribution system for Log4j. LogFactor5 (commercial) Another full-featured graphical log viewer. After a merger and the subsequent change in business-orientation, the owners of LogFactor5 have decided to donate their product to the log4j project. Log Tag A custom log tag library from the Jakarta Taglibs project. SNMPTrapAppender An appender to send formatted logging event strings to a specified managment host (typically, a MLM of some sort, but could also be an SNMP management console) in the form of an SNMP trap.
Ports to other languages
log4c ANSI C functions and macros for flexible logging to files and other destinations. It is modeled after log4j. It follows the log4j API within the limits of reason. Intended for use in time-space critical environments. log4cpp A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations modeled after log4j. log4cplus A competing port to C++. log4E The Goanna project (Eiffel Web Services) now includes log4E, a complete port of log4j. Log::Log4perl Log::Log4perl is a Perl port of log4j by Kevin Goess and Mike Schilli. The authors made sure that their port was as close as possible to the original implementation. Even the configuration files are similar! The project is still being enhanced, however the current release is stable and has been released to CPAN. log4net The .NET implementation of the popular log4j Java API providing flexible and arbitrarily granular control over log management and configuration. log4py Log4Py is a python logging module similar to log4j. It supports logging to files or to stdout/stderr, variable log-levels, configurable output formats and configuration via configuration files. log4p Another Python translation of log4j. This project no longer seems to be maintained. log4plsql Log4plsql is a Oracle PL/SQL logging module similar to log4j. It supports logging out-off transaction. It is useful for logging, benchmarking and monitoring PL/SQL applications. qmmslog Qmmslog is a port of log4j to the Qt/C++ platform. log4r A Powerful Logger for Ruby. Log4r features an extremely flexible logging library for Ruby. Killer features include a heiarchial logging system of any number of levels, logger inheritance, multiple output destinations, tracing, custom formatting and more. Log4r was inspired by log4j. Log4r provides the defining features of log4j and some of its own features that just might make log4j users envious. If you would like your software to be listed here, then send a note to the log4j-user@jakarta.apache.org list.
Copyright © 1999-2003, Apache Software Foundation