2 Minutes To Code (β Version)

Log4j - 2 minute tutorial

Versions of log4j apis

The following are the major releases of log4j project.

Download Version Java compatibility Release Date
log4j-1.2.17 1.2 and later 2012-05-26
log4j-1.2.16 1.2 and later 2010-04-07
log4j-1.2.15 1.2 and later 2007-08-30
log4j-1.2.14 1.2 and later 2006-09-18
log4j-1.2.13 1.2 and later 2006-09-21
log4j-1.2.12 1.2 and later 2005-09-08
log4j-1.2.11 1.2 and later 2005-06-23
log4j-1.2.10 1.2 and later 2005-05-27
log4j-1.2.9 1.2 and later 2005-06-23
log4j-1.2.8 1.2 and later 2004-04-19
log4j-1.2.7 1.2 and later 2004-04-19
log4j-1.2.6 1.2 and later 2004-04-19
log4j-1.2.5 1.2 and later 2004-04-19
log4j-1.2.4 1.2 and later 2004-04-19
log4j-1.2.3 1.2 and later 2004-04-19
log4j-1.2.2 1.2 and later 2004-04-19
log4j-1.2.1 1.2 and later 2004-04-19
log4j-1.1.3 1.1 and later 2004-04-19
log4j-1.0.4 1.1 and later 2004-04-19

log4j-extras api versions

The following are the major releases of log4j-extras companion api.

In the examples covered in this article, the log4j-extras jar is required only for the cases where logs are archived. For most of the examples and almost all uses of log4j on production environment, the log4j-extras jars are not required.

Download Version log4j.jar compatibility Java compatibility Release Date
apache-log4j-extras-1.1 1.2.16 and prior 1.2 and later 2010-11-20
apache-log4j-extras-1.0 1.2.17 and prior 1.2 and later 2007-08-30