hi,
u can store the errors in a log file.. just write the errors into a
file..
thanks & regards
vijayanand.R
(),,,()
( (. .) .-''''''''''-.
( o ) ) ( 'o' )
=(,,)=(,,)=(,,)==(,,)=
----- Original Message -----
From: "Ranjan Sarkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 3:23 PM
Subject: Logging System.out.print or System.err.print
Hi All,
Genarally System.out.print prints to the standard output device and
System.err.print prints to standard error device.
Most time, the two devices are same, namely, the console.
My question is can we redirect them to a file?
Actually I want to store all the System.out.println or System.err.println
into a log file for later use, Can we redirect the content of stadard
output or error device to a file?
-Ranjan
=========================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com