qxo opened a new pull request #637:
URL: https://github.com/apache/logging-log4j2/pull/637


   
   so we can change the load order if we need:
   such as lock some properties for force disable some feature we don't need.
   
   ie:
   
   SystemPropertiesPropertySource is priority=100, if we want 
log4j2.component.properties lock some properties(such as log4j2.enableJndi)
   that we do not want to be changed by system properties or ENV.
   with this feature, log4j2.component.properties as below:
   ```
   log4j2.enableJndi=false
   log4j.properties_load_priority=1000
   ```
   Our app do not need jndi lookup feature, so we want force disable it(Can't 
enable by -Dlog4j2.enableJndi=true or by ENV)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to