Skip to content

Commit f8a49b6

Browse files
authored
pipe all log messages to stdout for dev logger (#673)
1 parent 5a9480e commit f8a49b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/log/log.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func ConfigureLogger(logType string) {
4444
} else {
4545
cfg = zap.NewDevelopmentConfig()
4646
cfg.EncoderConfig.EncodeLevel = zapcore.CapitalColorLevelEncoder
47+
cfg.OutputPaths = []string{"stdout"}
4748
}
4849
logger, err := cfg.Build()
4950
if err != nil {

0 commit comments

Comments
 (0)