You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/10/18 13:24:43 UTC

[GitHub] [logging-log4j2] adwsingh commented on pull request #742: LOG4J2-3366 Fixes order of property sources

adwsingh commented on PR #742:
URL: https://github.com/apache/logging-log4j2/pull/742#issuecomment-1282382575

   This change along with https://github.com/apache/logging-log4j2/pull/975 broke one of our systems on upgrading to 2.19.
   
   In our applications we had both `LOG4J_CONFIGURATION_FILE` environment variable as well as `log4j.configurationFile` system property set. 
   
   In version 2.17.2 `log4j.configurationFile` gets priority vs in 2.19 `LOG4J_CONFIGURATION_FILE` gets priority. This also breaks the contract mentioned in the [documentation](https://logging.apache.org/log4j/2.x/manual/configuration.html#SystemProperties)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org