>
>if i use log("testing") in Servlet using Tomcat
>where will this log going to ?
to the $TOMCAT_HOME/servlet.log if you defined one in server.xml, for ex:
<Logger name="servlet_log"
path="logs/servlet.log"
verbosityLevel = "DEBUG"
timestampFormat="yyyy-MM-dd HH:mm:ss"
/>
>
>How can I log somthing to a file from Servlet ?
>I use System.err.println("Testing") when I am using Jserv before
>
I recall Jserv also provides log method so you could specify a log file in its
config to log messages.
- Boris
>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] */
>