https://kotlinlang.org logo
#ktor
Title
# ktor
a

Alexander Weickmann

10/04/2022, 8:42 PM
Hey all, the ktor-client-logging is producing a separate log lines for request, response, method and url. I'd prefer having a single log line, like: RESPONSE: 200 OK FROM GET <URL> Is there a way to configure the logging plugin so I could achieve that?
a

Aleksei Tirman [JB]

10/05/2022, 7:45 AM
You can either write a custom interceptor to make logging in a desired format or use this workaround.
45 Views