common/log: Switch to RFC3339 format with nanoseconds and trailing zeros

main
Robert Swain 2017-04-20 16:19:17 +02:00
parent e8d2d61cc2
commit 254e61f727
1 changed files with 1 additions and 1 deletions

View File

@ -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,