have a look in the $TOMCAT_HOME/logs directory. Assuming you've changed
server.xml so that tc_log has a path="logs/tomcat.log" then you will be
capturing all logging in the files in the logs directory. From memory,
serlvet.log("testing") will go into logs/servlet.log.
cheesr
dim
On Mon, 20 Aug 2001, Kenny Ma wrote:
> if i use log("testing") in Servlet using Tomcat
> where will this log going to ?
>
> How can I log somthing to a file from Servlet ?
> I use System.err.println("Testing") when I am using Jserv before
>
> But i cant now when using Tomcat 3.2.2
>
> Can anyone help me ?
> It's very troblem when debuging servlet program if i cant print log to file
>
> Thanks
>
>
> /* Kenny Ma
> [EMAIL PROTECTED] */
>
>