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