jakarta log4j ist definately worth a try, it solved many of my logging
problems...
but to answer your questions: usually System.out and System.err print to the
console that started tomcat unless you >'ed into a file. the log() method of
a servlet goes into servlet.log in tomcat's logs subdir.
regards
michael
-----Original Message-----
From: Kenny Ma [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 4:52 PM
To: [EMAIL PROTECTED]
Subject: Log problem
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] */