Przeglądaj źródła

Merge pull request #14596 from Microsoft/quieter-clean-exec-commands

Quieter debug logging for clean exec commands
Doug Davis 10 lat temu
rodzic
commit
9158ddef89
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      daemon/exec.go

+ 3 - 1
daemon/exec.go

@@ -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)
+		}
 	}
 }