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.
This commit is contained in:
Gibheer 2023-09-05 15:24:11 +02:00
parent 71cd89a4f1
commit efa2f5b307
1 changed files with 1 additions and 0 deletions

View File

@ -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)