From 26a4ca6ab56d23054f606bc378ba355cebce485a Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 5 Sep 2023 15:07:38 +0200 Subject: migrate moncheck to slog With this moncheck itself is also changed to use slog. The early config parsing is still using log as we do not have any idea what else to use. But from then slog is used at all points. With the additional config options a man page was also added to explain the new config options. --- moncheck.conf.example | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'moncheck.conf.example') diff --git a/moncheck.conf.example b/moncheck.conf.example index 29f5d81..4694ef0 100644 --- a/moncheck.conf.example +++ b/moncheck.conf.example @@ -9,5 +9,10 @@ "/usr/bin", "/usr/sbin" ], - "workers": 25 + "workers": 25, + "log": { + "format": "text", + "level": "info", + "output": "stderr" + } } -- cgit v1.2.3-70-g09d2