title: Not able to load LOG4J2.xml File from system environment variable
body: <p>I am doing a web application using Tomcat in eclipse and I kept the log4j2.xml file in environment variable location.</p>
  
  <p>using System environment variable </p>
  
  <pre><code>Variable name : sys_logroot
  Variable value : D:\user\gouse
  </code></pre>
  
  <p>In this directory I have my log4j2.xml file.I am trying to use this log4j2.xml file in my application I am not able to load this xml file and no log files are created to my application. </p>
  
  <p>How can I load an Log4j2.xml file into my application to get logs for my application?</p>