title: where to put log4j.properties- for use in java desktop app
body: <p>I am trying to use log4j logging framework in a java desktop application.</p>
  
  <p>When I run the code I am getting a message </p>
  
  <pre><code>log4j: log4j:WARN No appenders could be found for logger 
  </code></pre>
  
  <p>I googled for the above error and found that it occurs when the log4j.properties file is not found by the app.</p>
  
  <p>I am creating the desktop app using Eclipse. Currently log4j.properties is within the same folder that contains the source (in 'src' folder). Where should I put this file to make it work properly?</p>