suppress logs from route #857
Replies: 1 comment 1 reply
-
r.Use(middleware.Heartbeat("/healtz")) // no logger here yet
r.Use(middleware.Logger)) // defined after Heartbeat
r.Use(middleware.Recoverer)) // defined after Logger |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ep4sh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community, is there any chance to suppress logs from a specific route?
For instance, I have
/healthzendpoint in Kubernetes and I do want to avoid logs from it, when using logging middleware.Beta Was this translation helpful? Give feedback.
All reactions