diff --git a/src/pkg/logger/logger.go b/src/pkg/logger/logger.go index bd17269772..82e98d44e6 100644 --- a/src/pkg/logger/logger.go +++ b/src/pkg/logger/logger.go @@ -134,7 +134,10 @@ func New(cfg Config) (*slog.Logger, error) { switch cfg.Format.ToLower() { case FormatText: - handler = slog.NewTextHandler(cfg.Destination, &opts) + handler = console.NewHandler(cfg.Destination, &console.HandlerOptions{ + Level: slog.Level(cfg.Level), + NoColor: true, + }) case FormatJSON: handler = slog.NewJSONHandler(cfg.Destination, &opts) case FormatConsole: