Apache logging services logo Apache log4j logo

Dependency Information

Apache Maven

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

Apache Buildr

'org.apache.logging.log4j:log4j-core:jar:2.12.4'

Apache Ivy

<dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.12.4">
  <artifact name="log4j-core" type="jar" />
</dependency>

Groovy Grape

@Grapes(
@Grab(group='org.apache.logging.log4j', module='log4j-core', version='2.12.4')
)

Gradle/Grails

compile 'org.apache.logging.log4j:log4j-core:2.12.4'

Scala SBT

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

Leiningen

[org.apache.logging.log4j/log4j-core "2.12.4"]