[Backport-3.4] etcdserver/api/etcdhttp: log successful etcd server side health check in debug level
This commit is contained in:
Gyuho Lee 2021-02-09 15:01:19 -08:00 committed by GitHub
commit 3be9460ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ func checkHealth(srv etcdserver.ServerV2) Health {
if h.Health == "true" { if h.Health == "true" {
healthSuccess.Inc() healthSuccess.Inc()
plog.Infof("/health OK (status code %d)", http.StatusOK) plog.Debugf("/health OK (status code %d)", http.StatusOK)
} else { } else {
healthFailed.Inc() healthFailed.Inc()
} }