Laurent Thiebaud
07/30/2025, 3:02 PMCallLogging and StatusPage plugin
we'd like to not log some NotFound responses (just because there are too many on some given routes - but not all)
CallLogging already has filter { false } but it is still logging
It seems to be ktor default behavior
Is there any way to customize it?gpopides
07/30/2025, 3:44 PMcall.request.path().startsWith("/metrics")
then /customers will not be logged for exampleLaurent Thiebaud
07/31/2025, 6:35 AMfilter { false } then it is supposed to log nothing isn't it ⁉️gpopides
07/31/2025, 7:39 AMcall property and and non existing path?
for example call.request.path().startsWith("/doesnotexist")Laurent Thiebaud
07/31/2025, 12:19 PMStatusPage plugin to OK , then nothing is logged
My conclusion is that this should be some default behavior of ktor with error responsesAleksei Tirman [JB]
08/01/2025, 9:41 AM