> -----Original Message----- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:30 PM > To: Tomcat Users List > Subject: RE: System.out logs > > > Howdy, > > >I know we could pipe the output to a file but there should > be something > >better. Like calling System.setout() or perhapsa Logger tag...?? > > Those things are available in tomcat 4.x. Upgrade to get > them ;) For 3.x, you're stuck with OS-dependent, > non-portable solutions to this requirement. ;( >
System.setOut is obviously part of the JDK and not Tomcat 4. Using a logger tag won't affect standard output. Tomcat 4 uses plain old shell redirection to log standard out to a file. If you think using Sysstem.setOut is a better solution, then go right ahead, but personally I feel that using shell redirection is both simpler, and more maintainable. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
