Skip to content

Commit

Permalink
[Backport-3.4] etcdserver/api/etcdhttp: log successful etcd server si…
Browse files Browse the repository at this point in the history
…de health check in debug level

ref. etcd-io#12677
ref. etcd-io@0b9cfa8
  • Loading branch information
chaochn47 authored and tjungblu committed Sep 8, 2022
1 parent 88bf916 commit cadfb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/api/etcdhttp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func checkHealth(srv etcdserver.ServerV2) Health {

if h.Health == "true" {
healthSuccess.Inc()
plog.Infof("/health OK (status code %d)", http.StatusOK)
plog.Debugf("/health OK (status code %d)", http.StatusOK)
} else {
healthFailed.Inc()
}
Expand Down

0 comments on commit cadfb1a

Please sign in to comment.