title: Warning in Initializing log4j
body: <p>I am getting the following error while running a struts application.</p>
  
  <pre><code>13/04/19 12:42:21 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
  13/04/19 12:42:21 log4j:WARN Please initialize the log4j system properly.
  13/04/19 12:42:21 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  </code></pre>
  
  <p>My log4j.properties file is:</p>
  
  <pre><code>log4j.threshold=ALL
  log4j.rootLogger=ALL,DebugAppender,InfoAppender,RECEIPTAppender
  #log4j.rootLogger=DEBUG,DebugAppender
  log4j.category.DebugAppender.access=DEBUG
  log4j.appender.DebugAppender=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.DebugAppender.Threshold=DEBUG
  log4j.appender.DebugAppender.File=C:/APWD/ServerLogs/debug/assampwd.log
  log4j.appender.DebugAppender.layout=org.apache.log4j.PatternLayout
  log4j.appender.DebugAppender.layout.ConversionPattern=%d |[%t]| %-5p |%c |- |%m|%n
  #log4j.rootLogger=INFO,InfoAppender
  log4j.category.InfoAppender.access=INFO
  log4j.appender.InfoAppender=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.InfoAppender.Threshold=INFO
  log4j.appender.InfoAppender.File=C:/APWD/ServerLogs/debug/assampwd.log
  log4j.appender.InfoAppender.layout=org.apache.log4j.PatternLayout
  log4j.appender.InfoAppender.layout.ConversionPattern=%d |[%t]| %-5p |%c |- |%m|%n
  #log4j.logger.com.ctmis.hibernate=ERROR, RECEIPTAppender
  log4j.category.RECEIPTAppender.access=ERROR
  log4j.appender.RECEIPTAppender=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.RECEIPTAppender.Threshold=ERROR
  log4j.appender.RECEIPTAppender.File=C:/APWD/ServerLogs/debug/assampwd.log
  log4j.appender.RECEIPTAppender.layout=org.apache.log4j.PatternLayout
  log4j.appender.RECEIPTAppender.layout.ConversionPattern=%d |[%t]| %-5p |%c |- |%m|%n
  </code></pre>
  
  <p>My log4j.properties file is in WEB-INF folder. I have found similar topics in stackoverflow, but didnot work out for me, so I post it. Would really appreciate if someone can help me out, Its a warning message, but causing some module not working in the application.</p>
  
  <p>Thanks</p>