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

   > One other thing I noticed in my testing, the DefaultMergeStrategy uses the 
root node of the first configuration to merge all the others - this results in 
the first configuration being modified (regardless of type).
   > 
   > For example, if the first is a XmlConffiguration and a second 
XmlConfiguration is merged - the internal node structure of the first is 
modified.
   > 
   > I was wondering why, when a "reconfigure" is started on a 
CompositeConfiguration, isn't a new empty root-node used as the target for the 
merges?
   
   That it probably a mistake, the target should be the root node of the 
`CompositeConfiguration`.


-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to