tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik - Dev" <devli...@hanik.com>
Subject Re: Documentation
Date Tue, 07 Dec 2004 19:38:20 GMT
if you want to see cluster output, just configure debug for org.apache.catalina.cluster
using log4j for example

to setup log4j all I did was to add log4j.xml into common/classes and log4j.jar into common/lib

Filip

----- Original Message ----- 
From: "Pablo Carretero" <pcarretero@cygnux.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, December 07, 2004 1:34 PM
Subject: RE: Documentation


Thanks Yoav, 

Maybe, I don't explain very well my case. For example, If I active the debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc... 

Other example, I'm configuring a cluster in memory, I would like activate
the debug option, in order to know if the machines of the cluster is working
good or not. 

I mean, I looking for this documentation, but I find nothing about that. Do
you know if are there any documentation about this issues??



Thank a lot. 





-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] 
Sent: martes, 07 de diciembre de 2004 19:40
To: Tomcat Users List
Subject: RE: Documentation


Hi,

>Where can I find documentation about Tomcat looger, and debug &
verbosity
>params?
>
>
>I change the debug and verbosity values, and the log is always the
same.

Different Tomcat versions have different ways to configure logging.
Make sure you're looking at the documentation for your Tomcat version.

The verbosity attribute is mostly for Tomcat 3.x.

The debug attribute, if allowed (the docs will list it if it's allowed),
goes from 0 (the default, no logging) to 99 (the highest, max logging).
But it's mostly used in Tomcat 4.x, and less in 5.x.

The more recent versions of Tomcat use Commons-Logging increasingly.  To
configure their logging, you need to pick an implementation (e.g. log4j
or JDK 1.4 logging) and configure Tomcat to use that logging
implementation with your chosen logging levels.  This is explained in
the FAQ and documentation (the latter only for Tomcat 5.5).

For Tomcat 5.5, there's no Logger, and no debug attributes, at all.
It's all Commons-Logging.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message