tomcat.sh start > logfile 2>&1

Those messages and errors are going to standard error, not
standard out.  You also need to redirect standard error.  Of
course, syntax varies by shell so you may need to consult
your shell's documentation.  The above command works on
bash and possibly others.

Best Regards,

Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com

On Thu, 14 Jun 2001 19:17:07 +0200, mario libraro wrote:

>Hi listmates,
>
>when i use tomcat on linux/slackware, startup/shutdown and error
>messages appear on all consoles, even if I used >/dev/null everywhere in
>tomcat.sh :( how can redirect them to null or to a log file?
>
>Thanks in advance :)
>
>
>
>--
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Mario Libraro
>Progettazione & Sviluppo
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Fulltrading S.p.A.
>
>amm.:  50121 Firenze - Viale Matteotti, 9
>sede:  00153 Roma - Via Rosazza, 58
>cell.: +39 338 9753 962
>       +39 347 5205 752
>tel.:  +39 066 573 170
>fax:   +39 066 573 529
>email: [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
>web:   www.fulltrading.it
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>"Grande disordine sotto il cielo...
>...la situazione � ottima"
>
>                            Mao Tse-Tung



Reply via email to