mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #11554 from Sirupsen/logrus-fields
logging: use logrus fields
This commit is contained in:
commit
ac93a13e27
1 changed files with 6 additions and 6 deletions
|
@ -110,12 +110,12 @@ func mainDaemon() {
|
|||
return
|
||||
}
|
||||
|
||||
logrus.Infof("docker daemon: %s %s; execdriver: %s; graphdriver: %s",
|
||||
dockerversion.VERSION,
|
||||
dockerversion.GITCOMMIT,
|
||||
d.ExecutionDriver().Name(),
|
||||
d.GraphDriver().String(),
|
||||
)
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"version": dockerversion.VERSION,
|
||||
"commit": dockerversion.GITCOMMIT,
|
||||
"execdriver": d.ExecutionDriver().Name(),
|
||||
"graphdriver": d.GraphDriver().String(),
|
||||
}).Info("Docker daemon")
|
||||
|
||||
if err := d.Install(eng); err != nil {
|
||||
daemonInitWait <- err
|
||||
|
|
Loading…
Reference in a new issue