libeufin

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

commit 26389ed2f7fd3edacf6b9ad0515b212627f06ce4
parent 2d0b2e24f0e91c16a479bc2e8545a4d2461d9ce4
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue,  8 Oct 2019 17:17:15 +0200

include logback configuration

Diffstat:
Anexus/src/main/resources/logback.xml | 19+++++++++++++++++++
Aresources/global-logback.xml | 13+++++++++++++
Dresources/logback.xml | 12------------
Asandbox/src/main/resources/logback.xml | 19+++++++++++++++++++
Msandbox/src/test/kotlin/LogTest.kt | 2+-
5 files changed, 52 insertions(+), 13 deletions(-)

diff --git a/nexus/src/main/resources/logback.xml b/nexus/src/main/resources/logback.xml @@ -0,0 +1,18 @@ +<configuration> + + <include resource="global-logback.xml" /> + + <appender name="FILE" class="ch.qos.logback.core.FileAppender"> + <file>/tmp/nexus.log</file> + <append>false</append> + <encoder> + <pattern>%-5relative %-5level %logger{35} - %msg%n</pattern> + </encoder> + </appender> + + <root level="debug"> + <appender-ref ref="FILE" /> + </root> + + +</configuration> +\ No newline at end of file diff --git a/resources/global-logback.xml b/resources/global-logback.xml @@ -0,0 +1,12 @@ +<configuration> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> + </encoder> + </appender> + + <root level="debug"> + <appender-ref ref="STDOUT" /> + </root> + +</configuration> +\ No newline at end of file diff --git a/resources/logback.xml b/resources/logback.xml @@ -1,11 +0,0 @@ -<configuration> - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> - </encoder> - </appender> - - <root level="debug"> - <appender-ref ref="STDOUT" /> - </root> -</configuration> -\ No newline at end of file diff --git a/sandbox/src/main/resources/logback.xml b/sandbox/src/main/resources/logback.xml @@ -0,0 +1,18 @@ +<configuration> + + <include resource="global-logback.xml" /> + + <appender name="FILE" class="ch.qos.logback.core.FileAppender"> + <file>/tmp/sandbox.log</file> + <append>false</append> + <encoder> + <pattern>%-5relative %-5level %logger{35} - %msg%n</pattern> + </encoder> + </appender> + + <root level="debug"> + <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")