Apache Log4j

framework java-runtime

Apache Log4j is a Java-based logging utility. It is part of the Apache Logging Services, a project of the Apache Software Foundation.

Release Released Supported Latest
2 9 years ago
(12 Jul 2014)
Yes 2.23.1
(06 Mar 2024)
2.12 4 years and 10 months ago
(26 Jun 2019)
Ended 2 years and 4 months ago
(14 Dec 2021)
2.12.4
(28 Dec 2021)
2.3 8 years and 11 months ago
(10 May 2015)
Ended 8 years ago
(20 Sep 2015)
2.3.2
(29 Dec 2021)
1 23 years ago
(08 Jan 2001)
Ended 8 years ago
(15 Oct 2015)
1.2.17
(06 May 2012)

Log4j 1 reached End-Of-Life on August 2015. The reload4j project provides a drop-in replacement for Log4j 1.x with maintenance and security fixes.

Java Support

The only supported Java version is Java 8 and above.

  • Log4j 2.13.0 and greater require Java 8 or above.
  • Log4j (2.4 - 2.12.2) require Java 7 or above.
  • Log4j 2.12.2 was released as an emergency release (to fix CVE-2021-45046 and CVE-2021-44228) and is the last 2.x release to support Java 7. The Log4j team no longer supports Java 7, so this release (while fixing the vulnerability) is no longer supported.
  • Log4j 2.3 was the last 2.x release to support Java 6.

More information is available on the Apache Log4j website.

You should be running one of the supported release numbers listed above in the rightmost column.


You can submit an improvement to this page on GitHub :octocat: . This page has a corresponding Talk Page.

A JSON version of this page is available at /api/log4j.json. See the API Documentation for more information. You can subscribe to the iCalendar feed at /calendar/log4j.ics.