Quieter debug logging for clean exec commands

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: b271593c34a67f4040405c952fdb402bf5dcd151
Component: engine
This commit is contained in:
John Howard
2015-07-13 10:36:36 -07:00
parent 4d4c7231d9
commit 0a8f0f82e0

View File

@ -268,7 +268,9 @@ func (d *Daemon) execCommandGC() {
}
}
}
logrus.Debugf("clean %d unused exec commands", cleaned)
if cleaned > 0 {
logrus.Debugf("clean %d unused exec commands", cleaned)
}
}
}