rgoers commented on PR #2438:
URL: https://github.com/apache/logging-log4j2/pull/2438#issuecomment-2037862545

   @ppkarwasz 
   I looked at the Open Telemetry proposal. While the naming might give the 
impression it is similar to ScopedContext they are really unrelated. The Open 
Telemetry proposal is ONLY for telemetry information, not data used by the 
application.
   I looked at 2442. To be honest I have no idea what use case it solves but I 
don't see how it would be useful for ScopedContext. ThreadContextMap is 
primarily Map<String, String> where ScopedContext is Map<String, Object>. 
Furthermore, there are so many ThreadContextMap implementations I could easily 
see saving one and then trying to "restore" it into a different Map 
implementation (somehow). The ThreadContextMap situation is such a mess I have 
given up trying to understand it.


-- 
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]

Reply via email to