JWT007 opened a new issue, #3546: URL: https://github.com/apache/logging-log4j2/issues/3546
The LoggerContext fires two PropertyChangeEvents of type LoggerContext.PROPERTY_CONFIG on a reconfigure. A single reconfigure creates events in the following order: The first one the oldValue == newValue because it is called during updateLogggers ``` java.beans.PropertyChangeEvent: propertyName=config; oldValue=com.tsystems.pwc.config.logging.log4j.api.config.DefinedCompositeConfiguration@7470563a newValue=com.tsystems.pwc.config.logging.log4j.api.config.DefinedCompositeConfiguration@7470563a ``` The second one comes when the reconfiguration completes and is for the actual configuration change ``` java.beans.PropertyChangeEvent: propertyName=config; oldValue=com.tsystems.pwc.config.logging.log4j.api.config.DefinedCompositeConfiguration@3b99e345 newValue=com.tsystems.pwc.config.logging.log4j.api.config.DefinedCompositeConfiguration@7470563a ``` I am wondering if the `updateLoggers` PropertyChangeEvent should use a different property-name. -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org