summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-05-03 14:36:19 +0200
committerMS <ms@taler.net>2023-05-03 14:36:19 +0200
commit65b13c897dfe71319484040d2d6d33c6bb15d17e (patch)
tree7ae7d4b6e6d89210b8338a17abe79894c836cd44 /sandbox/src/main/kotlin/tech/libeufin
parent4266f98d262a3491a5a1e6184365ac99174a67f6 (diff)
downloadlibeufin-65b13c897dfe71319484040d2d6d33c6bb15d17e.tar.gz
libeufin-65b13c897dfe71319484040d2d6d33c6bb15d17e.tar.bz2
libeufin-65b13c897dfe71319484040d2d6d33c6bb15d17e.zip
help message to set the log level
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index f11d8cb3..4229638b 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -354,7 +354,9 @@ class Serve : CliktCommand("Run sandbox HTTP server") {
"--ipv4-only",
help = "Bind only to ipv4"
).flag(default = false)
- private val logLevel by option()
+ private val logLevel by option(
+ help = "Set the log level to: 'off', 'error', 'warn', 'info', 'debug', 'trace', 'all'"
+ )
private val port by option().int().default(5000)
private val withUnixSocket by option(
help = "Bind the Sandbox to the Unix domain socket at PATH. Overrides" +