tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: logging question
Date Wed, 10 May 2006 17:21:57 GMT
No appenders means output is not appended to anything.  If you supply the
jar, supply the log4j.properties which configures it.

Tim

-----Original Message-----
From: Guy McArthur [mailto:guymac@gmail.com] 
Sent: Wednesday, May 10, 2006 1:10 PM
To: users@tomcat.apache.org
Subject: logging question

Hello, somehow the 3rd party jar's in my web app are changing the log 
level and I need to find out how to override. Specifically my problem is 
that the log methods of Servlet send their output into the ether. The 
dependencies include commons-logging and log4j (themselves dependencies 
of either jfreechart or displaytag), neither of which I am familiar with.

I did try creating a logging.properties in my application (attached), 
which at least created a file in ${catalina.base}/logs, but never wrote 
anything to it.

Does anyone know what I might need to change?

There are warnings in catalina.out:

(on startup)
log4j:WARN No appenders could be found for logger 
(org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.

(on reload)
log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.

But if they are only warnings, would they cut off all logging from the 
application?

Please help, thanks.
-- 
Guy



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message