[ad_1]
java -Dlog4j.configuration=file:/temp/log4j.xml -jar temp/ltstatus.jar -Dspring.config.location=temp/application.properties
Replace temp as your folder path
[ad_2]
solved How do I externalize log4j.xml,application properties and jar using spring boot?