Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
What Is Apache Log4j - A Logging Library for Java
What Is Apache Log4j - A Logging Library for Java?
✍: FYIcenter.com
Apache Log4j is a reliable, fast and flexible logging framework written in Java.
With Log4j it is possible to enable logging at runtime without modifying the application binary. The Log4j package is designed so that these statements can remain in shipped code without incurring a heavy performance cost. Logging behavior can be controlled by editing a configuration file, without touching the application binary.
Logging equips the developer with detailed context for application failures. On the other hand, testing provides quality assurance and confidence in the application. Logging and testing should not be confused. They are complementary. When logging is wisely used, it can prove to be an essential tool.
One of the distinctive features of Log4j is the notion of inheritance in loggers. Using a logger hierarchy it is possible to control which log statements are output at arbitrarily fine granularity but also great ease. This helps to reduce the volume of logged output and the cost of logging.
The target of the log output can be a file, an OutputStream, a java.io.Writer, a remote Log4j server, a remote Unix Syslog daemon, or many other output targets.
Major versions of Apache Log4j:
Version JDK Date ------- --- ---- Apache Log4j 2.14.1 8 2021-03-12 Apache Log4j 2.12.1 7 2020-07-03 Apache Log4j 2.3 6 2020-07-03 Apache Log4j 1.2.17 1.4 2012-05-06 Apache Log4j 1.2.16 1.1 2013-02-01 Apache Log4j 1.2.15 1.1 2007-08-30 Apache Log4j 1.2.9 1.1 2005-06-23 Apache Log4j 1.2.1 1.1 2004-04-19 Apache Log4j 1.1.3 1.1 2004-04-19 Apache Log4j 1.0.4 1.1 2004-04-19
For more information, visit Apache Log4j Website.
⇒ Main Features of Apache Log4j
⇐ Introduction to Apache Log4j
2015-11-28, 2227🔥, 0💬
Popular Posts:
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
commons-net-1.4.1.jar is the JAR file for Apache Commons Net 1.4.1, which implements the client side...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...