libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit cffa45651040778354c73ddcaa4c51ee3725b6ad
parent 3be565b58f14f395885ca64044e80042e210e872
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue,  8 Oct 2019 18:04:42 +0200

attempt to turn logging off for io.ktor.*

Diffstat:
Mresources/global-logback.xml | 5++++-
Msandbox/src/test/kotlin/LogTest.kt | 5-----
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/resources/global-logback.xml b/resources/global-logback.xml @@ -1,5 +1,5 @@ <included> - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender" additivity="false"> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> @@ -8,4 +8,7 @@ <root level="debug"> <appender-ref ref="STDOUT" /> </root> + + <logger name="io.ktor.*" level="WARN" /> + </included> \ No newline at end of file diff --git a/sandbox/src/test/kotlin/LogTest.kt b/sandbox/src/test/kotlin/LogTest.kt @@ -11,11 +11,6 @@ class LogTest { @Test fun logLine() { - val cl = ClassLoader.getSystemClassLoader() - val urls = (cl as URLClassLoader).urLs - for (url in urls) { - // println(url) - } val logger = LoggerFactory.getLogger("sandbox.log.test") logger.info("line") }