Apache logging services logo Apache log4j logo

Dependency Information

Apache Maven

<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-1.2-api</artifactId>
  <version>2.12.4</version>
  <type>bundle</type>
</dependency>

Apache Buildr

'org.apache.logging.log4j:log4j-1.2-api:bundle:2.12.4'

Apache Ivy

<dependency org="org.apache.logging.log4j" name="log4j-1.2-api" rev="2.12.4">
  <artifact name="log4j-1.2-api" type="bundle" />
</dependency>

Groovy Grape

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

Gradle/Grails

compile 'org.apache.logging.log4j:log4j-1.2-api:2.12.4'

Scala SBT

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

Leiningen

[org.apache.logging.log4j/log4j-1.2-api "2.12.4"]