this question has been answered and a few times by me only. why dont u check
the archives. if u dont find then ask.

Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1031


-----Original Message-----
From: Ranjan Sarkar [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 2:54 AM
To: [EMAIL PROTECTED]
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

Reply via email to