title: Custom application properties in spring boot using IntelliJ
body: <p>I'm trying to use application properties, other than application.properties, say <code>application_local.properties</code> within resources directory.</p>
  
  <p>So that I can have 2 properties files, one for local and other the server.</p>
  
  <p>As mentioned in many blogs, I should use below command:</p>
  
  <pre><code>spring-boot:run -Dspring.config.location=/Users/myuser/work/MyProject/my-app/src/main/resources/application_local.properties
  </code></pre>
  
  <p>But this is not working, it is still fetching values from application.properties.</p>
  
  <p>What am I missing, please suggest?</p>
  
  <p><em>Thanks</em></p>