I'm trying to add a requestId to my application log, and it seems using a combination of slf4j’s MappedDiagnosticContext and ThreadContextElement might do the trick.
Does anyone know how I might configure ktor so that I can customize the coroutine context for handling requests?
Thanks!