Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2911

Log4j2EventListener in ...spring.cloud.config.client listens for wrong event

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spencergibb Spencer Gibb

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment