Is there a way to debug CORS?
# ktor
r
Is there a way to debug CORS?
Looks like there is trace level logging, but I'm not sure about enabling that in production on a server receiving dozens requests per second
Is there a way to change the level of logging of only this logger?
Copy code
KtorSimpleLogger("io.ktor.server.plugins.cors.CORS")
Damn the log isn't actually good
Copy code
12:13:39.734 TRACE - Respond forbidden /: origin doesn't match io.ktor.server.netty.http1.NettyConnectionPoint@7a5bf5c3