Logging library for java
log4j is a tool to help the programmer output log statements to a variety of output targets.
It is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that log statements can remain in shipped code without incurring a high performance cost.
One of the distinctive features of log4j is the notion of hierarchical loggers. Using loggers it is possible to selectively control which log statements are output at arbitrary granularity.
Log4j can output to: a file, a rolling file, a database with a JDBC driver, many output asynchronously, a JMS Topic, a swing based logging console, the NT event log, /dev/null, a SMTP server (using javamail), a socket server, syslog, telnet daemon and stdout.
The format of the output can be defined using one of the various layout (or user defined layout) like: simple text, html, date, pattern defined and XML.
Debian: Emmanuel Bourg <firstname.lastname@example.org>
30 September 2014
Leaders and contributors
Resources and communication
|Debian (Ref) (R)||https://tracker.debian.org/pkg/apache-log4j1.2|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.