Howdy,
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 [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 31, 2002 5:08 PM
>To: [EMAIL PROTECTED]
>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
and
>inside there there are Four(4) logs.
>catalina.log
>localhost_access_log
>localhost_examples_log
>localhost_log
>
>I have been tailing each of those, but I never see my messages. Also,
they
>do not go to stdout, as I am starting tomcat in a cmd window, and the
log()
>does not go there.
>
>Thanks,
>Scott Purcell
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to