libeufin

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

commit e98a79687e423594ce63561301faafb3fdff2998
parent 1216069c7e323f7a0e39d68269beece6334efab7
Author: MS <ms@taler.net>
Date:   Wed, 24 Jun 2020 19:00:35 +0200

loglevel for sandbox too

Diffstat:
Mnexus/src/main/resources/logback.xml | 2+-
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/resources/logback.xml b/nexus/src/main/resources/logback.xml @@ -9,7 +9,7 @@ <logger name="tech.libeufin.nexus" level="DEBUG" additivity="false"> <appender-ref ref="STDOUT" /> </logger> - + <logger name="io.netty" level="WARN"/> <logger name="ktor" level="WARN"/> <logger name="Exposed" level="WARN"/> diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -81,8 +81,10 @@ class SandboxCommand : CliktCommand() { class Serve : CliktCommand("Run sandbox HTTP server") { private val dbName by option().default("libeufin-sandbox.sqlite3") + private val logLevel by option() override fun run() { LOGGER = LoggerFactory.getLogger("tech.libeufin.sandbox") + setLogLevel(logLevel) serverMain(dbName) } }