diff --git a/pkg/common/log/zap.go b/pkg/common/log/zap.go index aee9aa42d..12b8cdb1d 100644 --- a/pkg/common/log/zap.go +++ b/pkg/common/log/zap.go @@ -85,7 +85,7 @@ func (l *ZapLogger) cores() (zap.Option, error) { c := zap.NewProductionEncoderConfig() c.EncodeTime = zapcore.ISO8601TimeEncoder c.EncodeDuration = zapcore.SecondsDurationEncoder - //c.EncodeLevel = zapcore.LowercaseColorLevelEncoder + c.EncodeLevel = zapcore.LowercaseColorLevelEncoder fileEncoder := zapcore.NewJSONEncoder(c) fileEncoder.AddInt("PID", os.Getpid()) writer, err := l.getWriter()