Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Log4j problem

 
Swaroop Reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have created an Spring with hibernate application all the things are looking fine but when i start server its causing
log4j:WARN No appenders could be found for logger (org.springframework.web.conte
xt.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Jul 14, 2009 8:07:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 14, 2009 8:07:26 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Spring] startup failed due to previous errors


I till now never used log4j ,whats the problem actually causing to my application

Some information I got from forums are
provide log4j.properties or log4j.xml on the classpath

where do i need to set it and how do i need to set it,i dont know any thing about it please help me
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google is your friend...

Log4J is an Apache project for logging.

The Wikipedia page on log4J is also very informative.
 
permaculture is largely about replacing oil with people. And one tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!