How can I get logging dispatched from the response in KTor Client to respect the MDC entries I get in all other log entries? I have been digging around for hours, but almost losing my mind... 🙂 I have looked for ways to set the coroutineContext for the HttpClitent etc. but I am getting lost in code. 😉 Any pointers or solutions is much appreciated. 🙂
👀 1
Anders Sveen
02/16/2021, 12:41 PM
Never mind. After failing and failing I finally stumbled upon a combination that works.