diff --git a/support/log/main.go b/support/log/main.go index 46a91eb1db..4cce234f03 100644 --- a/support/log/main.go +++ b/support/log/main.go @@ -42,6 +42,8 @@ type LogglyHook struct { func New() *Entry { l := logrus.New() l.Level = logrus.WarnLevel + l.Formatter.(*logrus.TextFormatter).FullTimestamp = true + l.Formatter.(*logrus.TextFormatter).TimestampFormat = "2006-01-02T15:04:05.000Z07:00" return &Entry{Entry: *logrus.NewEntry(l).WithField("pid", os.Getpid())} }