diff --git a/pkg/log/log.go b/pkg/log/log.go index c7828fa29..1e9eabbd0 100644 --- a/pkg/log/log.go +++ b/pkg/log/log.go @@ -44,6 +44,7 @@ func ConfigureLogger(logType string) { } else { cfg = zap.NewDevelopmentConfig() cfg.EncoderConfig.EncodeLevel = zapcore.CapitalColorLevelEncoder + cfg.OutputPaths = []string{"stdout"} } logger, err := cfg.Build() if err != nil {