From 3ad5ace4fc47e9b7ce1e49fb6b4477352986294a Mon Sep 17 00:00:00 2001 From: Nam Hai Nguyen Date: Mon, 29 Aug 2022 07:35:52 +0000 Subject: [PATCH] pkg/logging: Use RFC3339 compatible format Signed-off-by: Nam Hai Nguyen --- internal/pkg/logging/logging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/logging/logging.go b/internal/pkg/logging/logging.go index cafc4cdd..a7167089 100644 --- a/internal/pkg/logging/logging.go +++ b/internal/pkg/logging/logging.go @@ -12,7 +12,7 @@ var serviceName = "sso" func init() { logrus.SetOutput(os.Stdout) - logrus.SetFormatter(&logrus.JSONFormatter{TimestampFormat: "2006-01-02 15:04:05.000"}) + logrus.SetFormatter(&logrus.JSONFormatter{TimestampFormat: "2006-01-02 15:04:05.000Z"}) } // SetServiceName configures the service name to log with each LogEntry.