Apache logging services logo Apache log4j logo

Dependency Information

Apache Maven

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

Apache Buildr

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

Apache Ivy

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

Groovy Grape

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

Grails

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

Leiningen

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

SBT

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