aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2023-09-05 15:24:11 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2023-09-05 15:24:11 +0200
commitefa2f5b307be6db42b781be4f9d86306114c0cb8 (patch)
treea1c21f79bd8e0a94252b817a7bdeb1da58c0653d
parent71cd89a4f1b5d99a48dd02d4e87d1e461b5c94dc (diff)
add support for debug checker log output
With monzero supporting slog to get debug output from check commands, moncheck now supports that too by changing the level to debug.
-rw-r--r--cmd/moncheck/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/moncheck/main.go b/cmd/moncheck/main.go
index 12695d4..c9d3180 100644
--- a/cmd/moncheck/main.go
+++ b/cmd/moncheck/main.go
@@ -91,6 +91,7 @@ func main() {
Timeout: timeout,
HostIdentifier: hostname,
Executor: monzero.CheckExec,
+ Logger: logger,
})
if err != nil {
logger.Error("could not create checker instance", "error", err)