You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Amandeep Jawa <de...@imagelock.com> on 2000/11/02 03:41:27 UTC

Re: Redirect Tomcat System.out/System.err to logfile?

here is what i use:

/usr/local/jakarta-tomcat/bin/startup.sh >tomcat.log 2>&1



----- Original Message ----- 
From: "Jason Pell" <Ja...@dssonline.com.au>
To: <to...@jakarta.apache.org>; <to...@jakarta.apache.org>
Sent: Wednesday, November 01, 2000 7:25 PM
Subject: Redirect Tomcat System.out/System.err to logfile?


> Hello,
> 
> Is there a way I can redirect System.out/System.err to logfile.
> 
> Someone said that these go to the console where tomcat was started, but
> I use the "daemon tomcat start" command, so I am not sure that there is
> any
> output generated at all in daemon mode.
> 
> I would therefore like to redirect to logfile instead.
> 
> Thanks
> Jason
> 
> --
> Jason Pell
> Senior Analyst/Programmer
> Deakin Software Services Pty Ltd
> 12 Gheringhap St, Geelong Victoria 3220 Australia
> Phone: 03 5227 8858 International: +61 3 5227 8858
> Fax: 03 5227 8907 International: +61 3 5227 8907
> E-mail Jason.Pell@dssonline.com.au
> http://www.dssonline.com.au
> Customer Support Hotline: 1800 620 497
> 
> "Callista - the brightest solution in university management"
> 
> ---------------------------------------------------------------
> Important Notice: The contents of this email transmission,
> including attachments, may be privileged and confidential.
> Any unauthorised use of the contents is expressly prohibited.
> If you have received this transmission in error, please advise
> the sender by return email or telephone immediately and
> destroy all versions.
> ---------------------------------------------------------------
> 
> 
>