Description
Quarkus provides a way to log the http calls being made to it via the config property quarkus.http.access-log.enabledand this is just fine. However, in a kubernetes environment, this usually means that all the liveness and readiness probes also get logged which makes the logs very messy (IMO). So it would be great if there was a property like quarkus.http.access-log.disabled-routes where we specify which routes will not be logged and for good measure, this can be defaulted to routes like /health, /health/live, /health/ready and /metrics.
Implementation ideas
/cc @geoand
I think this makes sense.
WDYT @stuartwdouglas @cescoffier @kenfinnigan @ebullient ?
y. A similar mechanism exists in micrometer to exclude urls.
I don't know that I would exclude them by default. It can be the easiest first check that things are working properly (even before your endpoint works).
Probably should be a follow on from #13144 to make it easier as it can be anything under the endpoint prefix is ignored
Most helpful comment
Probably should be a follow on from #13144 to make it easier as it can be anything under the endpoint prefix is ignored