mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #34371 from Microsoft/jjh/logrustimestamp
logrus use full timestamp
This commit is contained in:
commit
cb9128677f
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue