commit 3be565b58f14f395885ca64044e80042e210e872
parent 26389ed2f7fd3edacf6b9ad0515b212627f06ce4
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 8 Oct 2019 17:34:29 +0200
fix logback include
Diffstat:
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/resources/global-logback.xml b/resources/global-logback.xml
@@ -1,4 +1,4 @@
-<configuration>
+<included>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
@@ -8,5 +8,4 @@
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
-
-</configuration>
-\ No newline at end of file
+</included>
+\ No newline at end of file
diff --git a/sandbox/src/main/resources/logback.xml b/sandbox/src/main/resources/logback.xml
@@ -14,5 +14,4 @@
<appender-ref ref="FILE" />
</root>
-
</configuration>
\ No newline at end of file
diff --git a/sandbox/src/test/kotlin/LogTest.kt b/sandbox/src/test/kotlin/LogTest.kt
@@ -14,7 +14,7 @@ class LogTest {
val cl = ClassLoader.getSystemClassLoader()
val urls = (cl as URLClassLoader).urLs
for (url in urls) {
- println(url)
+ // println(url)
}
val logger = LoggerFactory.getLogger("sandbox.log.test")
logger.info("line")