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/06 20:16:00 UTC

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

     [ https://issues.apache.org/jira/browse/LOG4J2-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers closed LOG4J2-3588.
-------------------------------

> 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
>            Priority: Major
>             Fix For: 2.19.0
>
>
> 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)