jvz commented on PR #2438: URL: https://github.com/apache/logging-log4j2/pull/2438#issuecomment-2052603332
Would it be possible to key a scoped context on something besides `ThreadContext`? One idea I had was to use a span id (like from OpenTelemetry) as the key for the logical context associated with the span. Then it becomes a matter of supplying the current span id in order to look up or modify the context data. While servlet-style processing would essentially pair span ids to thread ids in a one-to-one fashion, other execution models like reactive streams, coroutines, and virtual threads, could use different bookkeeping mechanisms for associating a span with some execution context. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
