tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r379956 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java
Date Wed, 22 Feb 2006 22:57:38 GMT
Author: fhanik
Date: Wed Feb 22 14:57:35 2006
New Revision: 379956

URL: http://svn.apache.org/viewcvs?rev=379956&view=rev
Log:
supressing JMX errors for now, since the code will be moved to JMX monitor beans

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java?rev=379956&r1=379955&r2=379956&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java
(original)
+++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/ReplicationTransmitter.java
Wed Feb 22 14:57:35 2006
@@ -714,7 +714,7 @@
                 mserver.unregisterMBean(getSenderObjectName(sender));
             }
         } catch (Exception e) {
-            log.warn(e);
+            if ( log.isDebugEnabled() ) log.debug("'ReplicationTransmitter' Unable to to
deregister IDataSender",e);
         }
     }
 
@@ -738,7 +738,7 @@
                 mserver.registerMBean(cluster.getManagedBean(sender),
                         senderName);
             } catch (Exception e) {
-                log.warn(e);
+                if ( log.isDebugEnabled() ) log.debug("'ReplicationTransmitter' Unable to
register sender bean",e);
             }
         }
     }
@@ -764,7 +764,7 @@
                     + sender.getAddress().getHostAddress() + ",senderPort="
                     + sender.getPort());
         } catch (Exception e) {
-            log.warn(e);
+            if ( log.isDebugEnabled() ) log.debug("'ReplicationTransmitter' Unable to retrieve
sender name",e);
         }
         return senderName;
     }



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


Mime
View raw message