Spring – Extern log4.properties file with Spring Boot

springspring-boot

I am running my app with executable jar.

I have log4j.properties inside /resources folder

In prod I would like to override it and have it within external dir

How I could do that using Spring-Boot?

Best Solution