tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1805747 - in /tomcat/tc8.0.x/trunk: java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java webapps/docs/changelog.xml
Date Tue, 22 Aug 2017 09:54:11 GMT
Author: kfujino
Date: Tue Aug 22 09:54:10 2017
New Revision: 1805747

URL: http://svn.apache.org/viewvc?rev=1805747&view=rev
Log:
Add member info to the log message when the failure detection check fails in TcpFailureDetector.

Modified:
    tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
    tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
    tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties?rev=1805747&r1=1805746&r2=1805747&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
Tue Aug 22 09:54:10 2017
@@ -44,7 +44,7 @@ tcpFailureDetector.heartbeat.failed=Unab
 tcpFailureDetector.performBasicCheck.memberAdded=Member added, even though we weren''t notified:{0}
 tcpFailureDetector.suspectMember.dead=Suspect member, confirmed dead.[{0}]
 tcpFailureDetector.suspectMember.alive=Suspect member, confirmed alive.[{0}]
-tcpFailureDetector.failureDetection.failed=Unable to perform failure detection check, assuming
member down.
+tcpFailureDetector.failureDetection.failed=Unable to perform failure detection check, assuming
member down.[{0}]
 tcpPingInterceptor.ping.failed=Unable to send TCP ping.
 tcpPingInterceptor.pingFailed.pingThread=Unable to send ping from TCP ping thread.
 throughputInterceptor.report=ThroughputInterceptor Report[\

Modified: tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?rev=1805747&r1=1805746&r2=1805747&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
Tue Aug 22 09:54:10 2017
@@ -356,7 +356,7 @@ public class TcpFailureDetector extends
         } catch (ConnectException cx) {
             //do nothing, we couldn't connect
         } catch (Exception x) {
-            log.error(sm.getString("tcpFailureDetector.failureDetection.failed"),x);
+            log.error(sm.getString("tcpFailureDetector.failureDetection.failed", mbr),x);
         }
         return false;
     }

Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1805747&r1=1805746&r2=1805747&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Tue Aug 22 09:54:10 2017
@@ -90,6 +90,10 @@
         update the access time when receiving the map member notification
         message. (kfujino)
       </fix>
+      <fix>
+        Add member info to the log message when the failure detection check
+        fails in <code>TcpFailureDetector</code>. (kfujino)
+      </fix>
     </changelog>
   </subsection>
 </section>



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


Mime
View raw message