tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rumney <jrum...@att.com>
Subject Re: Standard out?
Date Fri, 08 Sep 2000 08:27:34 GMT
Christopher Cain <ccain@mhsoftware.com> writes:

> Does anyone know where standard out (System.out) or error
> (System.err) goes, or if there is any way of affecting the location?

By default they go to the terminal window that Tomcat is started
from. You can use normal shell features (pipes, redirection to files
etc) to affect this, or take a look at System.setErr(stream) and
friends for more sophisticated redirection - but be careful of
threading issues if you do this.


-- 
Jason Rumney <jrumney@attlabs.att.com>
AT&T Labs (Redditch, UK)


Mime
View raw message