Use Spring Framework bom and fully exclude commons-logging

Closes #955
Closes #978
This commit is contained in:
Andy Wilkinson
2014-05-28 19:06:55 +01:00
parent 6fbafc3ca4
commit 7a8be3d600
6 changed files with 78 additions and 113 deletions

View File

@@ -29,7 +29,8 @@ import ch.qos.logback.classic.Level;
public class LogbackInitializer {
public static void initialize() {
if (ClassUtils.isPresent("org.slf4j.impl.StaticLoggerBinder", null)) {
if (ClassUtils.isPresent("org.slf4j.impl.StaticLoggerBinder", null)
&& ClassUtils.isPresent("ch.qos.logback.classic.Logger", null)) {
new Initializer().setRootLogLevel();
}
}