logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rao srinivas <raosrini...@yahoo.com>
Subject error in properties file, help me please...please..please..please
Date Fri, 07 Sep 2001 11:40:07 GMT
Hi experts,

here is my properties file, which is in
Web-inf/classes:

log4j.rootCategory=R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logtags.log
log4j.appender.R.MaxFileSize=100KB
log4j.appender.R.MaxBackupIndex=2
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c -
%m%n


I am getting the following error:
log4j:ERROR No appenders could be found for category
(root).
log4j:ERROR Please initialize the log4j system
properly.

I think, that properties file is not being accessed.
It is giving the same error, even properties file is
not in Web-inf/classes directory.

please help me out

Srinivas



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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


Mime
View raw message