Join Slack
Powered by
Hey! I’m trying to debug a 403, and wonder if ther...
# ktor
p
Peter Brottveit Bock
05/18/2021, 9:54 AM
Hey! I’m trying to debug a 403, and wonder if there is any way to make ktor log the steps it takes through the pipeline.
Peter Brottveit Bock
05/18/2021, 9:56 AM
I have called
Routing.trace
, but seems routing is never reached, as there is no log entry from it.
Peter Brottveit Bock
05/18/2021, 9:57 AM
I’m using ktor-auth-jwt, and have tried to add a breakpoint in the handler in the authentication feature, but the breakpoint is never reached.
b
bartvh
05/18/2021, 11:47 AM
Don't know any readily available solutions/feature, but I think you could add your own logging interceptor to each phase in the pipeline.
Open in Slack
Previous
Next