mvanhorn commented on issue #3472:
URL: 
https://github.com/apache/logging-log4j2/issues/3472#issuecomment-6824639612

   The pair stored the key exactly as it was passed, and the plugin builder 
left the key attribute optional, so both construction and configuration 
accepted a missing key. The configuration builder forwarded that key onto the 
component, which is what showed up as a null attribute in the generated XML.
   
   The constructor now requires a non-empty key and throws 
IllegalArgumentException when the key is null or empty.
   
   https://github.com/apache/logging-log4j2/pull/4474


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

  • Re: [I] KeyValuePair - no va... mvanhorn (via GitHub) via notifications

Reply via email to