Apache logging services logo Apache log4j logo

Dependency Information

Apache Maven

<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-slf4j-impl</artifactId>
  <version>2.1</version>
</dependency>

Apache Buildr

'org.apache.logging.log4j:log4j-slf4j-impl:jar:2.1'

Apache Ant

<dependency org="org.apache.logging.log4j" name="log4j-slf4j-impl" rev="2.1">
  <artifact name="log4j-slf4j-impl" type="jar" />
</dependency>

Groovy Grape

@Grapes(
@Grab(group='org.apache.logging.log4j', module='log4j-slf4j-impl', version='2.1')
)

Grails

compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.1'

Leiningen

[org.apache.logging.log4j/log4j-slf4j-impl "2.1"]

SBT

libraryDependencies += "org.apache.logging.log4j" %% "log4j-slf4j-impl" % "2.1"