gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: loglevel for sandbox too


From: gnunet
Subject: [libeufin] branch master updated: loglevel for sandbox too
Date: Wed, 24 Jun 2020 19:00:51 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new e98a796  loglevel for sandbox too
e98a796 is described below

commit e98a79687e423594ce63561301faafb3fdff2998
Author: MS <ms@taler.net>
AuthorDate: Wed Jun 24 19:00:35 2020 +0200

    loglevel for sandbox too
---
 nexus/src/main/resources/logback.xml                  | 2 +-
 sandbox/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
index a65ce5e..5676ae1 100644
--- 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
index 669d447..7d33dc0 100644
--- 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)
     }
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]