File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Log4j problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Log4j problem" Watch "Log4j problem" New topic
Author

Log4j problem

Swaroop Reddy
Ranch Hand

Joined: Feb 25, 2009
Posts: 34
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


Mr.Reddy
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Google is your friend...

Log4J is an Apache project for logging.

The Wikipedia page on log4J is also very informative.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Log4j problem