From caa4b70f5ba6d434c90b9ca8268c8177ad674926 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 98cad86403..80cb6da441 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())