You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/06 19:31:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17600955#comment-17600955 ] 

ASF subversion and git services commented on LOG4J2-3588:
---------------------------------------------------------

Commit 383f64afc8eb9ba55425cd314792ecc9251e3046 in logging-log4j2's branch refs/heads/master from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=383f64afc8 ]

LOG4J2-3588 - Allow a PropertySource to be added


> 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
>
> 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)