You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mario libraro <m....@fulltrading.it> on 2001/06/14 19:17:07 UTC

How to avoid messages spamming?

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: m.libraro@fulltrading.it
       m.libraro@tiresia.it
web:   www.fulltrading.it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Grande disordine sotto il cielo...
...la situazione è ottima"

                            Mao Tse-Tung

Re: How to avoid messages spamming?

Posted by Jason Koeninger <jk...@jjcc.com>.
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: m.libraro@fulltrading.it
>       m.libraro@tiresia.it
>web:   www.fulltrading.it
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>"Grande disordine sotto il cielo...
>...la situazione � ottima"
>
>                            Mao Tse-Tung