title: Getting the user home path in application.properties in Spring Boot
body: <p>This should be a quite straight forward task, but after doing quite a bit of research I'm finding it hard to find any way to do this.</p>
  
  <p>I just want to create a log file in the current user's home directory. According to the <a href="http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-logging.html#boot-features-logging-file-output" rel="noreferrer">Official Documentation</a> the variables I should modify are <code>logging.file</code> and <code>logging.path</code>. But how do I get the value of the user-home into the <code>logging.path</code>?</p>
  
  <p>I have tried setting it up like:</p>
  
  <pre><code>logging.path=#{systemProperties['user.home']}
  </code></pre>
  
  <p>but without any success.</p>