1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

daemon: convert version log statement to fields

Signed-off-by: Simon Eskildsen <sirup@sirupsen.com>
This commit is contained in:
Simon Eskildsen 2015-03-22 02:39:44 +00:00
parent 7dd79dcc7b
commit e1ca439828

View file

@ -114,12 +114,12 @@ func mainDaemon() {
return return
} }
logrus.Infof("docker daemon: %s %s; execdriver: %s; graphdriver: %s", logrus.WithFields(logrus.Fields{
dockerversion.VERSION, "version": dockerversion.VERSION,
dockerversion.GITCOMMIT, "commit": dockerversion.GITCOMMIT,
d.ExecutionDriver().Name(), "execdriver": d.ExecutionDriver().Name(),
d.GraphDriver().String(), "graphdriver": d.GraphDriver().String(),
) }).Info("Docker daemon")
if err := d.Install(eng); err != nil { if err := d.Install(eng); err != nil {
daemonInitWait <- err daemonInitWait <- err