Quieter debug logging for clean exec commands

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2015-07-13 10:36:36 -07:00
parent 0f466c36b9
commit b271593c34
+3 -1
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)
}
}
}