title: Where to store log4j.properties file in dynamic web application in eclipse project structure?
body: <p>Where do I put my <code>log4j.properties</code> file in my <strong>Eclipse</strong> Project Structure so that its found during this operation:  </p>
  
  <pre><code>PropertyConfigurator.configure("log4j.properties");  
  </code></pre>
  
  <p>I found the following link:  </p>
  
  <p><a href="https://stackoverflow.com/questions/5081316/where-is-the-correct-location-to-put-log4j-properties-in-an-eclipse-project">Where is the correct location to put Log4j.properties in an Eclipse project?</a>  </p>
  
  <p>But as per the answer (selected) ,I think the setting is for the server itself and would be<br>
  applied to all projects.But I want this .properties file for my concerned project only.  </p>
  
  <p>My project structure is:  </p>
  
  <pre><code>AccountCeation //project name  
      Java Resources: src  
          com.alw.controllers //packages  
          .....  
          log4j.properties  
  </code></pre>
  
  <p>I always get an <code>FileNotFoundException</code> for it.  </p>
  
  <p><strong>NOTE:</strong> I am developing a Dynamic Web Application with Spring Framework.  </p>
  
  <p>Please guide me where I am missing ?</p>