• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

log4j:WARN No appenders could be found for logger (org.springframework.core.CollectionFactory).

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I try to configure Log4j in spring and log file generated sucessfullly even though i get below error.

log4j:ERROR Could not read configuration file from URL [file:/D:/aaa/bbbbb/.metadata/.plugins/org.eclipse.core.resources/ReportSchedular/build/weboutput/Config/log4j.properties].
java.io.FileNotFoundException: D:\xx\yyy\zzz SCHEDULER\.metadata\.plugins\org.eclipse.core.resources\ReportSchedular\build\weboutput\Config\log4j.properties (The system cannot find the path specified)

Note: log4j generate log file and append in the consol.

Please help Me..
 
madhukiran kommalapati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
issue resolved...
I put my log4j.properties under WEB-INF


<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>WEB-INF/log4j.properties</param-value>
</context-param>

Thanks!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic