From 254e61f7279c5037e2abed458df99f5dfe9bdfa8 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Thu, 20 Apr 2017 16:19:17 +0200 Subject: [PATCH] common/log: Switch to RFC3339 format with nanoseconds and trailing zeros --- src/github.com/matrix-org/dendrite/common/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/common/log.go b/src/github.com/matrix-org/dendrite/common/log.go index acae9ee75..625ef20a7 100644 --- a/src/github.com/matrix-org/dendrite/common/log.go +++ b/src/github.com/matrix-org/dendrite/common/log.go @@ -11,7 +11,7 @@ import ( // SetupLogging configures the logging format and destination(s). func SetupLogging(logDir string) { formatter := &logrus.TextFormatter{ - TimestampFormat: "2006-01-02 15:04:05.000000", + TimestampFormat: "2006-01-02T15:04:05.000000000Z07:00", DisableColors: true, DisableTimestamp: false, DisableSorting: false,