logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Zhang" <dzh...@seven.com>
Subject RE: log4j:WARN No appenders could be found for logger (org.springframework.web.conte xt.ContextLoader).
Date Fri, 07 Nov 2008 08:46:44 GMT
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:heartyraphael@gmail.com] 
Sent: Wednesday, November 05, 2008 2:18 PM
To: log4j-user@logging.apache.org
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message