MVN

org.apache.logging.log4j : log4j-core

Maven & Gradle

Jun 18, 2023
7.7k usages
3.1k stars

Apache Log4j Core · The Apache Log4j Implementation

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.20.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.logging.log4j : log4j-core to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.20.0
  • Latest Release Candidate: 2.0-rc2
  • Latest Beta: 2.0-beta9
  • Latest Alpha: 3.0.0-alpha1

All Versions

Choose a version of org.apache.logging.log4j : log4j-core to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.0.x
log4j-core-3.0.0-alpha1
2.20.x
log4j-core-2.20.0
2.19.x
log4j-core-2.19.0
2.18.x
log4j-core-2.18.0
2.17.x
log4j-core-2.17.2
log4j-core-2.17.1
log4j-core-2.17.0
CVE-2021-44832
2.16.x
log4j-core-2.16.0
2 vulnerabilities
2.15.x
log4j-core-2.15.0
3 vulnerabilities
2.14.x
log4j-core-2.14.1
4 vulnerabilities
log4j-core-2.14.0
4 vulnerabilities
2.13.x
log4j-core-2.13.3
4 vulnerabilities
log4j-core-2.13.2
4 vulnerabilities
log4j-core-2.13.1
5 vulnerabilities
log4j-core-2.13.0
5 vulnerabilities
2.12.x
log4j-core-2.12.4
log4j-core-2.12.3
CVE-2021-44832
log4j-core-2.12.2
2 vulnerabilities
log4j-core-2.12.1
5 vulnerabilities
log4j-core-2.12.0
5 vulnerabilities
2.11.x
log4j-core-2.11.2
5 vulnerabilities
log4j-core-2.11.1
5 vulnerabilities
log4j-core-2.11.0
5 vulnerabilities
2.10.x
log4j-core-2.10.0
5 vulnerabilities
2.9.x
log4j-core-2.9.1
5 vulnerabilities
log4j-core-2.9.0
5 vulnerabilities
2.8.x
log4j-core-2.8.2
5 vulnerabilities
log4j-core-2.8.1
7 vulnerabilities
2.8
log4j-core-2.8
7 vulnerabilities
2.7
log4j-core-2.7
7 vulnerabilities
2.6.x
log4j-core-2.6.2
7 vulnerabilities
log4j-core-2.6.1
7 vulnerabilities
2.6
log4j-core-2.6
7 vulnerabilities
2.5
log4j-core-2.5
7 vulnerabilities
2.4.x
log4j-core-2.4.1
7 vulnerabilities
2.4
log4j-core-2.4
7 vulnerabilities
2.3.x
log4j-core-2.3.2
log4j-core-2.3.1
CVE-2021-44832
2.3
log4j-core-2.3
7 vulnerabilities
2.2
log4j-core-2.2
7 vulnerabilities
2.1
log4j-core-2.1
7 vulnerabilities
2.0.x
log4j-core-2.0.2
7 vulnerabilities
log4j-core-2.0.1
7 vulnerabilities
2.0
log4j-core-2.0
7 vulnerabilities
log4j-core-2.0-rc2
7 vulnerabilities
log4j-core-2.0-rc1
7 vulnerabilities
log4j-core-2.0-beta9
7 vulnerabilities
log4j-core-2.0-beta8
5 vulnerabilities
log4j-core-2.0-beta7
5 vulnerabilities
log4j-core-2.0-beta6
4 vulnerabilities
log4j-core-2.0-beta5
4 vulnerabilities
log4j-core-2.0-beta4
4 vulnerabilities
log4j-core-2.0-beta3
4 vulnerabilities
log4j-core-2.0-beta2
4 vulnerabilities
log4j-core-2.0-beta1
4 vulnerabilities
log4j-core-2.0-alpha2
4 vulnerabilities
log4j-core-2.0-alpha1
4 vulnerabilities

How to add a dependency to Maven

Add the following org.apache.logging.log4j : log4j-core maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.20.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.apache.logging.log4j : log4j-core gradle dependency to your build.gradle file:

implementation 'org.apache.logging.log4j:log4j-core:2.20.0'

Gradle Kotlin DSL: Add the following org.apache.logging.log4j : log4j-core gradle kotlin dependency to your build.gradle.kts file:

implementation("org.apache.logging.log4j:log4j-core:2.20.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.apache.logging.log4j : log4j-core sbt scala dependency to your build.sbt file:

libraryDependencies += "org.apache.logging.log4j" % "log4j-core" % "2.20.0"

Advertisement

Dependencies from Group

Jun 18, 2023
7.7k usages
3.1k stars
Jun 18, 2023
6.3k usages
3.1k stars
Jun 18, 2023
5.5k usages
3.1k stars
Jun 18, 2023
1.1k usages
3.1k stars
Jun 18, 2023
1k usages
3.1k stars

Discover Dependencies

Jan 16, 2011
9.4k usages
Jul 13, 2023
626 usages
56.5k stars
Aug 21, 2017
1.3k usages
90 stars
Sep 13, 2022
3.4k usages
4.1k stars
Jun 02, 2023
69.4k usages
14.3k stars
May 30, 2023
29 usages
72 stars
Aug 09, 2023
25k usages
2.7k stars
Oct 23, 2009
1.6k usages
Aug 23, 2023
171 usages
49.2k stars
Aug 24, 2023
935 usages
75k stars