tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: Debug tomcat 6.0
Date Thu, 11 Oct 2012 07:51:23 GMT
On 10/11/2012 12:32 AM, vicky007aggarwal@yahoo.co.in wrote:
> All,
>
> How to debug tomcat 6.0 , actually i am a Having issue with tomcat static membership
cluster . But i am not seeing any relevant information in catalina.out file.
>
> Kindly suggest
>
> Thanks
> Vicky

Edit $CATALINA_BASE/conf/logging.properties

Here's a start:

1. Modify the handlers line to look like the following (adding another 
file handler)


handlers = 1catalina.org.apache.juli.FileHandler, 
2localhost.org.apache.juli.FileHandler, 
3manager.org.apache.juli.FileHandler, 
4host-manager.org.apache.juli.FileHandler, 
java.util.logging.ConsoleHandler,5cluster.org.apache.juli.FileHandler

Note that this is one continuous line

2. Define the base level and file for the logger. Something like this:

5cluster.org.apache.juli.FileHandler.level = FINER
5cluster.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
5cluster.org.apache.juli.FileHandler.prefix = cluster.


3. Adjust the level of logging as necessary for various packages. Here's 
one example:

org.apache.catalina.tribes.MESSAGES.level = FINE
org.apache.catalina.tribes.MESSAGES.handlers = 
5cluster.org.apache.juli.FileHandler

org.apache.catalina.tribes.level = FINE
org.apache.catalina.tribes.handlers = 5cluster.org.apache.juli.FileHandler

org.apache.catalina.ha.level = FINE
org.apache.catalina.ha.handlers = 5cluster.org.apache.juli.FileHander

org.apache.catalina.ha.deploy.level = INFO
org.apache.catalina.ha.deploy.handlers = 
5cluster.org.apache.juli.FileHandler

Again, the handlers lines should be each on one line

This will hopefully get you started.

. . . . just my two cents.
/mde/

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


Mime
View raw message