On 10/11/2012 12:32 AM, vicky007aggar...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to