I am using IBM Webspehere 8.5, where i need to pass the the log4j2 config file path externally (not hardcoded in deployed jar file as for dev, uat and prod different config file are present)
Log4j2 site tells https://logging.apache.org/log4j/2.0/faq.html
You can also specify the full path of the configuration file with this system property: -Dlog4j.configurationFile=path/to/log4j2.xml
IBM WS site tells how to set it (But is it system property or environment variable) http://www-01.ibm.com/support/docview.wss?uid=swg21254153
Also . Can you please let me know the right way to set Log4j2 system property.