printing error messages to log files

2000-12-27 Thread Ramkumar Manoharan
Hi, Can anybody help me out on this?I want the error messages to be logged,but i don't see anything given in the doc.when i try to print the error messages with system.out.print it gets printed onto the console window.Any help would be appreciated. Thanks Ram

RE: printing error messages to log files

2000-12-27 Thread Tim Cronin
PROTECTED] Subject: printing error messages to log files Hi, Can anybody help me out on this?I want the error messages to be logged,but i don't see anything given in the doc.when i try to print the error messages with system.out.print it gets printed onto the console window.Any help would

RE: printing error messages to log files

2000-12-27 Thread Ramkumar Manoharan
ECTED]'" [EMAIL PROTECTED] Subject: RE: printing error messages to log files Date: Wed, 27 Dec 2000 19:26:59 -0600 see javax.servlet.ServletContext.log or another simple hack if you got alot of system.out.prinln's in your code is to set system.out to a fileOutputStream. -Original Message

RE: printing error messages to log files

2000-12-27 Thread Tim Cronin
To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: printing error messages to log files Date: Wed, 27 Dec 2000 19:51:34 -0600 see the javadoc for javax.servlet.ServletContext.log there are two flavors one takes a String the other takes a String and an Exception