From df394b1678e49e867ad46ea362744b276d278948 Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Tue, 2 Jan 2024 17:51:23 +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 7fbaeaf6a..8814c336f 100644 --- a/coordinator/main.go +++ b/coordinator/main.go @@ -21,7 +21,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())