tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Segarra Rey <OSega...@gencat.cat>
Subject RE: Cluster Logging
Date Tue, 10 Aug 2010 06:39:09 GMT
Hi, 

Another question related to this issue... is there any level known as NONE (or something similar)
 in order to disable cluster logging ?

Thanks a lot.

Oscar Segarra Rey
Àrea de tecnologies de la informació i les comunicacions
Departament de la Presidència
C/ Sant Honorat 1-3 - 08002 Barcelona
934024834


-----Mensaje original-----
De: Mark Eggers [mailto:its_toasted@yahoo.com] 
Enviado el: dilluns, 9 / agost / 2010 19:39
Para: Tomcat Users List
Asunto: Re: Cluster Logging

Let me try that again since my copy/paste failed.

#
# add an extra handler to direct to a different file
#
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

#
# define the base level and where the file should go
#
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

#
# now the actual levels - adjust accordingly
#
org.apache.catalina.tribes.MESSAGES.level = INFO
org.apache.catalina.tribes.MESSAGES.handlers = 
5cluster.org.apache.juli.FileHandler

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

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

/mde/


----- Original Message ----
From: Oscar Segarra Rey <OSegarra@gencat.cat>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Mon, August 9, 2010 2:44:35 AM
Subject: Cluster Logging

Hi,

I would like to monitor cluster  as it was in tomcat 5.5 with the clause 
doClusterLog in tomcat 6.0.24.

I have added the following lines in logging.properties:

org.apache.catalina.tribes.MESSAGES.level = FINE
org.apache.catalina.tribes.level = FINE
org.apache.catalina.ha.level = FINE

And messages are written into catalina.out file.

I would like to write cluster messages in a cluster.out file but in the official 

web I could not find how to.

http://tomcat.apache.org/tomcat-6.0-doc/logging.html

How can I achieve this objective ?

Thanks in advance.

Oscar Segarra Rey
Àrea de tecnologies de la informació i les comunicacions
Departament de la Presidència
C/ Sant Honorat 1-3 - 08002 Barcelona
934024834





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


      


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


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


Mime
View raw message