mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #12679 from chaochn47/backport_3.4_#12677
[Backport-3.4] etcdserver/api/etcdhttp: log successful etcd server side health check in debug level
This commit is contained in:
commit
3be9460ddc
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user