log4j is a popular Java-based logging utility. It is a project of the Apache Software Foundation and is licensed under The Apache Software License, Version 2.0
Apache Log4j is a Java-based logging utility. It is a project of the Apache Software Foundation. Log4j is one of several Java Logging Frameworks.
Log4j in written in Java and also support cross platform and available with Apache License 2.0 License.
Log4j helps programmers output log statements from their programs. The log statements can be configured to be output to a variety of locations including the console, files and email. Log4j is a hierarchical logging utility which makes it possible to change the granularity at which log statements are output.
It is common practice to use the program's package structure as the basis for the hierarchy since the package structure of an application is inherently hierarchical and usually correlates to the hierarchy of the program code.
Log4j2.x changes the API and is no longer downward compatible to log4j1.x
Official Website:
Useful Links:
stackoverflow posts
See Also
Latest release log4j1: 1.2.17 released on August 5, 2015
Latest release log4j2: 2.13.3 released on 2020-05-10