about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/logging.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/server/logging.go b/internal/server/logging.go
index d70d927..a574bcb 100644
--- a/internal/server/logging.go
+++ b/internal/server/logging.go
@@ -31,6 +31,9 @@ func wrapHandlerWithLogging(wrappedHandler http.Handler) http.Handler {
 		host := r.Host
 		lw := NewLoggingResponseWriter(w)
 		wrappedHandler.ServeHTTP(lw, r)
+		if r.URL.Path == "/health" {
+			return
+		}
 		statusCode := lw.statusCode
 		log.Info(
 			"http request",