Configure tomcat to log into a file. In your server.xml specify the log file, 
for ex:

    <Logger name="tc_log"
            path="logs/tomcat.log"
            verbosityLevel = "DEBUG"
    />

Messages will be redirected to tomcat.log 

hth
*********************************************************************
* Boris Niyazov                Ph:  212-854-4094  Fax: 212-854-1749 *
* Systems Manager              Email: [EMAIL PROTECTED]             * 
* Columbia Law School          URL: http://www.law.columbia.edu     *
*********************************************************************                  
             



>
>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