log4j

Maven

<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-log4j12</artifactId>
  <version>1.4.2</version>
</dependency>

…and add in the log4j, Maven 2 dependency, log4j.

Sample

sample-slf4j-log4j A sample project using log4j (version 1.2).