rgoers commented on issue #2331:
URL: 
https://github.com/apache/logging-log4j2/issues/2331#issuecomment-2028149070

   I am going to go one further. This is NOT a bug. The purpose of 
ContextDataProvider is to inject data into LogEvents.  That is documented 
clearly in the [Extending 
Log4j](https://logging.apache.org/log4j/2.x/manual/extending.html) section of 
the manual. Now because the Context Lookup inspects data in the LogEvent when 
it is passed on it will work as you expect in that circumstance. But where no 
LogEvent exists it cannot possibly know where your extra data is located.
   
   Therefore I am closing this.


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