From efa2f5b307be6db42b781be4f9d86306114c0cb8 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 5 Sep 2023 15:24:11 +0200 Subject: 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. --- cmd/moncheck/main.go | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-70-g09d2