I\'ve got a maven & spring app that I want logging in. I\'m keen to use SLF4J.
I want to put all my config files into a directory {classpath}/config including lo
Just for the sake of completeness, a logback-classic
variant:
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.6.6</version>
<scope>runtime</scope>
</dependency>
Do not forget however to disable commons-logging
dependency which sprouts from Spring dependency like in the accepted (Stijn's) answer.