tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: log() method
Date Mon, 03 Jun 2002 13:49:04 GMT
Actually, if I am not mistaken, the log() method is in the
ServletContext.  Therefore, it should go into your context's log.  Do
you have a Logger element for your context in server.xml?  I do, and
that's where my log() statements go.

By the way, I'm a big fan of log4j, use it all the time and everywhere.
Strongly recommended for logging purposes.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Scott Purcell []
>Sent: Friday, May 31, 2002 5:08 PM
>Subject: log() method
>I am running Tomcat 4.0.3 on a NT box here, and I am trying to use the
>log("my message here");
>method. The log() method should put the messages into the error log,
but I
>am not seeing any activity there. In my installdir I have a logs dir
>inside there there are Four(4) logs.
>I have been tailing each of those, but I never see my messages. Also,
>do not go to stdout, as I am starting tomcat in a cmd window, and the
>does not go there.
>Scott Purcell
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message