diff --git a/pkg/log/log.go b/pkg/log/log.go index 413b604f7..18b247b96 100644 --- a/pkg/log/log.go +++ b/pkg/log/log.go @@ -39,7 +39,7 @@ func ConfigureLogger(logType string) { cfg.EncoderConfig.MessageKey = "message" cfg.EncoderConfig.TimeKey = "time" cfg.EncoderConfig.EncodeLevel = encodeLevel() - cfg.EncoderConfig.EncodeTime = zapcore.RFC3339TimeEncoder + cfg.EncoderConfig.EncodeTime = zapcore.RFC3339NanoTimeEncoder cfg.EncoderConfig.EncodeDuration = zapcore.SecondsDurationEncoder cfg.EncoderConfig.EncodeCaller = zapcore.FullCallerEncoder } else {