Look at server.xml: you can specify a log file for Loger name=tc_log, that where 
tomcat will redirect its logs insetad of console. Is it what you want?

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


 

>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>Date: Tue, 8 May 2001 00:04:11 +1000 (EST)
>From: teh j <[EMAIL PROTECTED]>
>Subject: error message logging
>To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
>
>Hi there!
>
>I was wondering if it were possible to somehow log the
>error messages that appear at the tomcat console
>should there be an error in a jsp application?
>
>eg say that our javabeans have a nullpointer exception
>and an error 500 message is displayed at our console
>and at our browser. Is there a way to pipe this to a
>log file?
>
>thanks !
>Jason
>
>_____________________________________________________________________________
>http://store.yahoo.com.au - Yahoo! Store
>- It's time you had your business online!


Reply via email to