Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
org.apache.logging.log4j.spring.cloud.config.client.Log4j2EventListener currently listens for RemoteApplicationEvent. This is incorrenct. RemoteApplicationEvent could be any number of things, not just an event. Also, refresh events can come from more than spring cloud bus.
When a remote refresh event is received, an EnvironmentChangeEvent (which is a spring ApplicationEvent) is published. That would be more appropriate to listen for.