diff --git a/elide-core/src/test/java/com/yahoo/elide/core/LifeCycleTest.java b/elide-core/src/test/java/com/yahoo/elide/core/LifeCycleTest.java index b3abd54ca5..d4cdccefbf 100644 --- a/elide-core/src/test/java/com/yahoo/elide/core/LifeCycleTest.java +++ b/elide-core/src/test/java/com/yahoo/elide/core/LifeCycleTest.java @@ -61,10 +61,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.slf4j.LoggerFactory; - -import ch.qos.logback.classic.Level; -import ch.qos.logback.classic.Logger; import java.util.Arrays; import java.util.HashMap; @@ -139,9 +135,6 @@ public Class lookupBoundClass(Class objClass) { dictionary.bindTrigger(Book.class, OnUpdatePreSecurity.class, onUpdateImmediateCallback, true); dictionary.bindTrigger(Book.class, OnUpdatePostCommit.class, onUpdatePostCommitCallback, true); dictionary.bindTrigger(Author.class, OnUpdatePostCommit.class, onUpdatePostCommitAuthor, true); - // enable trace - Logger rootLogger = (Logger) LoggerFactory.getILoggerFactory().getLogger(Logger.ROOT_LOGGER_NAME); - rootLogger.setLevel(Level.TRACE); } @BeforeEach diff --git a/elide-core/src/test/resources/logback.xml b/elide-core/src/test/resources/logback.xml index 64f6e93ed6..aca4d9eca0 100644 --- a/elide-core/src/test/resources/logback.xml +++ b/elide-core/src/test/resources/logback.xml @@ -6,14 +6,30 @@ --> + + INFO + %msg%n + + target/trace.log + false + + %msg%n + + + + + true + - + +