From c0d4c042212e53d052ec174ab37b73793ca3df13 Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Fri, 5 Jan 2024 15:19:55 +0100 Subject: [PATCH] coordinator: use custom slog --- coordinator/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coordinator/main.go b/coordinator/main.go index bca49b91c2..f381cb3e16 100644 --- a/coordinator/main.go +++ b/coordinator/main.go @@ -19,7 +19,9 @@ func main() { } func run() (retErr error) { - logger := slog.Default() + logger := slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{ + Level: slog.LevelInfo, + })) defer func() { if retErr != nil { logger.Error(retErr.Error())