title: Log4j Configuration issues - log4j:WARN Please initialize the log4j system properly
body: <p>I got error:</p>
  
  <pre><code>log4j:WARN No appenders could be found for logger (java.lang.Class).
  log4j:WARN Please initialize the log4j system properly.
  </code></pre>
  
  <p>I have been through many threads and forums to fix the above error, but could not find the solution to my problem.</p>
  
  <p>Problem: My requirement specifies us to use the below filenames for each environment.</p>
  
  <p><b>log.dev<br>
  log.local<br>
  log.test<br>
  <br></b></p>
  
  <p>How to configure my application to detect these log files?</p>