Created
April 19, 2011 19:02
-
-
Save jaxzin/929283 to your computer and use it in GitHub Desktop.
SLF4J dependencies for routing all log messages through one logging implementation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Use JDK logging for runtime since that's what Glassfish uses. --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-jdk14</artifactId> | |
<version>1.5.6</version> | |
<scope>runtime</scope> | |
</dependency> | |
<!-- Anything using log4j should defer to slf4j. --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>log4j-over-slf4j</artifactId> | |
<version>1.5.6</version> | |
<scope>runtime</scope> | |
</dependency> | |
<!-- Anything using commons-logging should defer to slf4j. --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>jcl-over-slf4j</artifactId> | |
<version>1.5.6</version> | |
<scope>runtime</scope> | |
</dependency> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment