[
https://issues.apache.org/jira/browse/LOG4J2-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442581#comment-17442581
]
nick allen edited comment on LOG4J2-3187 at 11/12/21, 6:18 AM:
---------------------------------------------------------------
The param passed to
`org.apache.logging.log4j.util.PropertiesUtil.Environment#get` is
"log4j.configurationFile", while ENV variable is loaded as
LOG4J_CONFIGURATION_FILE.
was (Author: nicktheuncharted):
The param passed to
`org.apache.logging.log4j.util.PropertiesUtil.Environment#get` is
"log4j.configurationFile", while ENV variable is loaded as
LOG4J_CONFIGURATION_FILE, so I guess it will never able to be read?
> 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)