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 2021/12/11 16:38:00 UTC

[jira] [Updated] (LOG4J2-3063) Missing provides directives in module-info cause system properties to not accept post log4j 2.10 normalized versions

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

Ralph Goers updated LOG4J2-3063:
--------------------------------
    Fix Version/s: 2.16.0
                       (was: 2.15.0)

> Missing provides directives in module-info cause system properties to not accept post log4j 2.10 normalized versions
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-3063
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3063
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.14.0
>         Environment:  
> Reproduced environment:
>  * log4j 2.14.0
>  * Compiled with --release 11 and Zulu16.28+11
> Original environment the bug was discovered in:
>  * log4j 2.14.0, log4j-jul 2.14.0, log4j-slf4j-impl 2.14.0, log4j-iostreams 2.14.0
>  * Compiled with --release 16 and Zulu16.28+11
>            Reporter: Anand Beh
>            Priority: Major
>             Fix For: 2.16.0
>
>
> log4j-api's module-info is missing "provides PropertySource ..." directives. This causes the ServiceLoader to not be able to detect SystemPropertiesPropertySource when running on the module path.
> Consequently from that, the normalized system properties from log4j 2.10+ have no effect when running on the module-path.
> ----
> Please read the comment below for a more detailed explanation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)