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

Allow property sources to be registered after PropertiesUtil is initialized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.18.0
    • 2.19.0
    • API
    • None

    Description

      PropertiesUtil loads all PropertySources at startup without any parameters. Spring Boot needs to pass the Environment to the PropertySource but the PropertySource is created before Spring Boot has initialized. This change would allow the Spring Boot PropertySource to be registered manually during Spring Boot initialization.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: