Sfoglia il codice sorgente

logrus use full timestamp

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 8 anni fa
parent
commit
af64e396ca
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      cmd/dockerd/daemon.go

+ 1 - 0
cmd/dockerd/daemon.go

@@ -96,6 +96,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
 	logrus.SetFormatter(&logrus.TextFormatter{
 		TimestampFormat: jsonlog.RFC3339NanoFixed,
 		DisableColors:   cli.Config.RawLogs,
+		FullTimestamp:   true,
 	})
 
 	if err := setDefaultUmask(); err != nil {