ppkarwasz commented on issue #1813:
URL: 
https://github.com/apache/logging-log4j2/issues/1813#issuecomment-1732231097

   The way I implemented it `addKeyValue` always adds values to the context map.
   
   We might improve this behavior:
    * if the user provides a **message** as in the example above, we keep the 
current behavior: the event will contain a `SimpleMessage/ParameterizedMessage` 
and the key/value pairs will end up in the context map,
    * if the user provides **no** message we can create a `StringMapMessage` 
with all the values.


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