title: Externalizing the location of logback.xml in Spring Boot using application.properties
body: <p>How can I customize the location of logback.xml in Spring Boot using application.properties?</p>
  <p>I tried below but is not working.</p>
  <p>application.properties</p>
  <pre><code>logging.config = /home/dev-01/Documents/logback.xml
  </code></pre>
  <p>It is working if the logback.xml is located in the resource folder, but not working if it is located outside the project.</p>
  <p>It is also working if the I supply as an environment variable like</p>
  <pre><code>-Dlogging.config=/home/dev-01/Documents/logback.xml
  </code></pre>