logrus use full timestamp

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: af64e396cadb90e5177d0601b4869ba98e17c0d7
Component: engine
This commit is contained in:
John Howard
2017-08-02 10:30:30 -07:00
parent 9762198ec1
commit 8f436ab301
+1
View File
@@ -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 {