Use Spring Framework bom and fully exclude commons-logging
Closes #955 Closes #978
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user