Browse code

Quieter debug logging for clean exec commands

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2015/07/14 02:36:36
Showing 1 changed files
... ...
@@ -268,7 +268,9 @@ func (d *Daemon) execCommandGC() {
268 268
 				}
269 269
 			}
270 270
 		}
271
-		logrus.Debugf("clean %d unused exec commands", cleaned)
271
+		if cleaned > 0 {
272
+			logrus.Debugf("clean %d unused exec commands", cleaned)
273
+		}
272 274
 	}
273 275
 }
274 276