filter
Allows you to add conditions for filtering requests. In the example below, only requests made to /api/v1
get into a log:
filter { call ->
call.request.path().startsWith("/api/v1")
}
Content copied to clipboard
Allows you to add conditions for filtering requests. In the example below, only requests made to /api/v1
get into a log:
filter { call ->
call.request.path().startsWith("/api/v1")
}