logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rishikesh Tembe" <rishi_lea...@eml.cc>
Subject Re: log4j:ERROR No appenders could be found for category
Date Wed, 08 Oct 2003 22:34:23 GMT
AFAIK Category has been deprecated and replaced by Logger.. I don't know
if it still works though.. According to the javadocs, there is no reason
to use or refer to Category :)

You can find more information in the short manual and the javadocs.
What should work is something like
log4j.rootLogger=DEBUG, das

Also, what is "das" defined as?

-Rishi

> log4j.rootCategory=DEBUG, das
> 
> log4j.category.cnsperfe.servlet=INFO, servletLog
> log4j.appender.servletLog=org.apache.log4j.RollingFileAppender
> log4j.appender.servletLog.File=logs/dasadmin.log
> log4j.appender.servletLog.MaxFileSize=1000KB
> log4j.appender.servletLog.MaxBackupIndex=2
> log4j.additivity.cnsperfe.servlet=false
> log4j.appender.servletLog.layout=org.apache.log4j.PatternLayout
> log4j.appender.servletLog.layout.ConversionPattern=%m%n
ciao,
Rishi
-----
"Let's think the unthinkable, let's do the undoable, let's prepare to
grapple with the ineffable itself... And see if we may not eff it after
all."

-- 
http://www.fastmail.fm - And now for something completely differentÂ…

---------------------------------------------------------------------
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