stdout - console instead of catalina.out

2005-02-16 Thread Eric Wulff
I just started logging via log4j and although my question stems from that, I believe it is more of a Tomcat question. How can I re-direct log messages to print to a Linux command window instead of printing to the file catalina.out, i.e. how do I tell Tomcat that standard out is the console from

Re: stdout - console instead of catalina.out

2005-02-16 Thread David Smith
The startup shell script is responsible for redirecting output to catalina.out. remove ' catalina.out' and you should be good to go. You could also pipe your output to the 'tee' utility. See the man pages for details. --David Eric Wulff wrote: I just started logging via log4j and although

Re: stdout - console instead of catalina.out

2005-02-16 Thread Eric Wulff
Great, many thx for the advise. I also found that using command './catalina.sh run' to start Tomcat, as apposed to traditional './startup.sh', ensures that stdout goes to the console instead of catalina.out. Eric On Wed, 16 Feb 2005 11:22:20 -0500, David Smith [EMAIL PROTECTED] wrote: The