You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2022/09/02 21:45:00 UTC

[jira] [Created] (LOG4J2-3588) Allow property sources to be registered after PropertiesUtil is initialized

Ralph Goers created LOG4J2-3588:
-----------------------------------

             Summary: Allow property sources to be registered after PropertiesUtil is initialized
                 Key: LOG4J2-3588
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3588
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.18.0
            Reporter: Ralph Goers
            Assignee: Ralph Goers


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)