diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/server/logging.go | 3 |
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", |