Merge pull request #34371 from Microsoft/jjh/logrustimestamp

logrus use full timestamp
This commit is contained in:
Yong Tang 2017-08-04 07:25:59 -07:00 committed by GitHub
commit cb9128677f
1 changed files with 1 additions and 0 deletions

View File

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