spring-boot - External log4j configuration not working
<p>I am trying to do a setup for production environment, so I wanted to keep <code>log4j.properties</code> out of my application jar file. </p>

<p>For that I have kept my <code>application.properties</code> and <code>log4j.properties</code> files parallel to my spring-boot jar file. And I have given <code>logging.config: file:log4j.properties</code> in my application.properties. This doesn't seem to work. Spring is still picking up the log4j.properties file which is placed inside the jar file.</p>

<p>I have tried giving the absolute path in <code>logging.config</code> property like <code>C:\Users\furquan\project\jars\log4j.properties</code>, but it still the log4j.properties that was being used was the one inside the jar file.</p>

<p>Please help, its important !!! </p>