From b5332548c83b8c8cf41aeb43c506244a9484a483 Mon Sep 17 00:00:00 2001 From: grantleehoffman Date: Fri, 24 Sep 2021 15:58:57 -0700 Subject: [PATCH] remove health check debug messages --- CHANGELOG.md | 1 + service/handlers.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 873a790c..6fe8e93e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Updated vault api lib to v1.1.1 to try to resolve dependabot resolution issues. * Change build test exceptions declaration (linting). +* Remove health check debug log messages. ### Security * Updated argo-workflows to v3.1.8 to address CVE-2021-37914 diff --git a/service/handlers.go b/service/handlers.go index 37b09e39..f866ed7e 100644 --- a/service/handlers.go +++ b/service/handlers.go @@ -57,7 +57,6 @@ type handler struct { func (h *handler) healthCheck(w http.ResponseWriter, r *http.Request) { vaultEndpoint := fmt.Sprintf("%s/v1/sys/health", h.env.VaultAddress) l := h.requestLogger(r, "op", "health-check", "vault-endpoint", vaultEndpoint) - level.Debug(l).Log("message", "executing") // #nosec response, err := http.Get(vaultEndpoint)