title: How to specify file path Dynamically in logback.xml
body: <p>I am new to Logback, I am trying to add file path dynamically, with a property file, for both windows and Linux.</p>
  
  <p>Here is the code sinppet I have, how can I get the value to ${MY_HOME} </p>
  
  <pre><code>&lt;appender name="SERVER_FILE" class="ch.qos.logback.core.FileAppender"&gt;
      &lt;file&gt;${MY_HOME}/server.log&lt;/file&gt;
      &lt;append&gt;true&lt;/append&gt;
      &lt;encoder&gt;
        &lt;pattern&gt;%d [%thread] %-5level %logger{35} - %msg%n&lt;/pattern&gt;
      &lt;/encoder&gt;
    &lt;/appender&gt; 
  </code></pre>