[
https://issues.apache.org/jira/browse/LOG4J2-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442580#comment-17442580
]
nick allen commented on LOG4J2-3187:
------------------------------------
According to the docs: `Properties can be overridden by sources with a lower
number priority (e.g.., -100 comes before 100`. But
`org.apache.logging.log4j.util.PropertiesUtil.Environment#sources` and loaded
from lower priority to higher ones with higher ones overriding lower ones in
`org.apache.logging.log4j.util.PropertiesUtil.Environment#reload`.
> LOG4J_CONFIGURATION_FILE environment variable can't override
> log4j.configurationFile in log4j2.component.properties
> -------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-3187
> URL: https://issues.apache.org/jira/browse/LOG4J2-3187
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.14.1
> Reporter: nick allen
> Priority: Minor
>
> Tried using LOG4J_CONFIGURATION_FILEĀ to override log4j.configurationFile in
> log4j2.component.properties. It didn't works.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)