Satyam Agarwal
06/04/2022, 9:29 AMktor-server-call-logging
https://github.com/ktorio/ktor/blob/main/ktor-server/ktor-server-plugins/ktor-server-call-logging/jvm/src/io/ktor/server/plugins/callloging/MDCProvider.kt#L12
Here mdc entries are registered in the plugin registry, but I couldn’t find out where they are extracted again back from the plugin registry to be used (they are however used from the pluginConfig, so I don’t see why these are being registered in pluginRegistry). Is this code redundant or is there any magic that I cant see 😅 ?Aleksei Tirman [JB]
06/04/2022, 9:40 AMSatyam Agarwal
06/04/2022, 9:43 AMcall
instance, thus removing the need to set them up in CallSetup hook ?Satyam Agarwal
06/04/2022, 9:55 AMAleksei Tirman [JB]
06/06/2022, 9:59 AMSatyam Agarwal
06/06/2022, 10:02 AMAleksei Tirman [JB]
06/06/2022, 10:05 AMAleksei Tirman [JB]
06/06/2022, 10:08 AMApplication.attributes
if you want to share data for all calls.