title: How to config path to log4j.properties file in Spring and JSF environment?
body: <p>I have maven-compatible eclipse dynamic project on windows 7.I put log4j.properties under src/main/resources/welcome</p>
  
  <p>In web.xml </p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;`
      &lt;param-value&gt;file/C:/projectpath/src/main/resources/welcome/log4j.properties &lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>I could not get it working when I put log4j.properties file under src directory.
  What s the proper way for the config above?
  Is there another way rather than this?</p>
  
  <p>thanks</p>