Try this:
System.setOut(new PrintStream(new
FileOutputStream(filename,true)));
                            System.setErr(new PrintStream(new
FileOutputStream(filename,true)));
--- Leila Lappin <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> 
> Could someone please send me a link to find
> information on redirecting system.out and
> system.err.  I've been to
> http://www.jguru.com/faq/view.jsp?EID=302980 they
> suggested reading the relevant discussion on the
> archived mailing list
>
http://mikal.org/interests/java/tomcat/archive/search?start=60&search=how+to+redirect
> ).  I'm still reading through and haven't found the
> answer.
> 
> I've setup <Logger> tag in server.xml and it points
> to org.apache.catalina.logger.FileLogger. I get all
> messages generated by tomcat but nothing from my own
> diagnostics.  
>    
> I'm using tomcat-4.0.2 on Redhat 7.2.
> 
> thanks in advance for your help.
> Leila
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to