You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Reynir Hübner <re...@hugsmidjan.is> on 2003/01/20 16:59:28 UTC

Logging

Is it possible somehow to set the logger in tomcat (FileLogger) so that it will tell which application the exception happenes.
My problem is this :
I have a server running serveral virtual hosts, most running the same web-applications. When an exception is caused it gets stack-trace-printed to the standard out, but it's impossible for me to determine which application it happenes in. Is it possible to configure the FileLogger to display where it happenes ?

Thanx
-reynir

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Logging

Posted by Paul Yunusov <py...@rogers.com>.
On Monday 20 January 2003 10:59 am, Reynir Hübner wrote:
> Is it possible somehow to set the logger in tomcat (FileLogger) so that it
> will tell which application the exception happenes. My problem is this :
> I have a server running serveral virtual hosts, most running the same
> web-applications. When an exception is caused it gets stack-trace-printed
> to the standard out, but it's impossible for me to determine which
> application it happenes in. Is it possible to configure the FileLogger to
> display where it happenes ?
>
> Thanx
> -reynir

Reynir,

Assuming your Tomcat version is 4.1.x, visit here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

then scroll down to Attributes-Standard Implementation and check 
"swallowOutput" out.

HTH,

Paul

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Logging

Posted by Brandon Cruz <bc...@norvax.com>.
I have been trying to do the same thing, unfortunately I have not found a
way to make this happen yet.

Brandon

-----Original Message-----
From: Reynir Hübner [mailto:reynir@hugsmidjan.is]
Sent: Monday, January 20, 2003 9:59 AM
To: Tomcat Users List
Subject: Logging


Is it possible somehow to set the logger in tomcat (FileLogger) so that it
will tell which application the exception happenes.
My problem is this :
I have a server running serveral virtual hosts, most running the same
web-applications. When an exception is caused it gets stack-trace-printed to
the standard out, but it's impossible for me to determine which application
it happenes in. Is it possible to configure the FileLogger to display where
it happenes ?

Thanx
-reynir

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>