From b87560e3bd4482e7f9209da9fb78d3c8706764d3 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Sun, 6 Jan 2019 21:32:57 -0500 Subject: [PATCH] Log Health Check failure at Verbosity Level - 4 Our default recommendation as well as our CI default is 4, so we should be able to see the health check errors at the same level 4 itself. Change-Id: I388f945d3522d1f63f0a85f35e765c2d4f2c548a Kubernetes-commit: 3d6b3857b29b9c738f258344781ce4a9b40b9a0b --- pkg/server/healthz/healthz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/healthz/healthz.go b/pkg/server/healthz/healthz.go index 17d85fbe6..8a975b316 100644 --- a/pkg/server/healthz/healthz.go +++ b/pkg/server/healthz/healthz.go @@ -167,7 +167,7 @@ func handleRootHealthz(checks ...HealthzChecker) http.HandlerFunc { if err := check.Check(r); err != nil { // don't include the error since this endpoint is public. If someone wants more detail // they should have explicit permission to the detailed checks. - klog.V(6).Infof("healthz check %v failed: %v", check.Name(), err) + klog.V(4).Infof("healthz check %v failed: %v", check.Name(), err) fmt.Fprintf(&verboseOut, "[-]%v failed: reason withheld\n", check.Name()) failed = true } else {