title: Log4j is not finding configuration in properties file
body: <p>My log4j.properties file is:</p>
  
  <pre><code># Log levels
  log4j.rootLogger=INFO,CONSOLE,file
  # Appender Configuration
  log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
  # Pattern to output the caller's file name and line number
  log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
  log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
  # Rolling File Appender
  log4j.appender.file=org.apache.log4j.RollingFileAppender
  # Path and file name to store the log file
  log4j.appender.file.File=C:/Logging/log4jFile.log
  log4j.appender.file.MaxFileSize=200KB
  # Number of backup files
  log4j.appender.file.MaxBackupIndex=2
  # Layout for Rolling File Appender
  log4j.appender.file.layout=org.apache.log4j.PatternLayout
  log4j.appender.file.layout.ConversionPattern=%d - %c - %p - %m%n
  </code></pre>
  
  <p>and the location of log4j.properties file is in WEB-INF of my project.
  So when I run my servlet I get this below message:</p>
  
  <p>log4j:WARN No appenders could be found for logger (...).</p>
  
  <p>log4j:WARN Please initialize the log4j system properly.</p>
  
  <p>Where I am going wrong, I don't understand!</p>