By default, the log config file name should be log4j.properties, instead of logging.properties. Should that be the reason?
Dong -----Original Message----- From: Hearty [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 2:18 PM To: [email protected] Subject: log4j:WARN No appenders could be found for logger (org.springframework.web.conte xt.ContextLoader). I am getting the following error log4j:WARN No appenders could be found for logger (org.springframework.web.conte xt.ContextLoader). log4j:WARN Please initialize the log4j system properly. The logging.properties I am using is as follows handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ org.apache.juli.FileHandler.level = ALL org.apache.juli.FileHandler.directory = C:/tmp/logs org.apache.juli.FileHandler.prefix = fp. java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter com.telelogic.focalpoint.level = INFO com.telelogic.focalpoint.dao.jdbc.Jdbc.level = OFF com.telelogic.focalpoint.dao.ViewExecutor.level = OFF org.apache.catalina.level = INFO org.springframework.level = INFO net.sf.ehcache.distribution.level = INFO The logging.properties is placed under WEB-INF/classes I don't how to proceed further. Thanks in advance -- View this message in context: http://www.nabble.com/log4j%3AWARN-No-appenders-could-be-found-for-logge r-%28org.springframework.web.conte-xt.ContextLoader%29.-tp20336657p20336 657.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
