Author: kfujino Date: Tue Aug 22 09:51:46 2017 New Revision: 1805744 URL: http://svn.apache.org/viewvc?rev=1805744&view=rev Log: Add member info to the log message when the failure detection check fails in TcpFailureDetector.
Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties?rev=1805744&r1=1805743&r2=1805744&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties Tue Aug 22 09:51:46 2017 @@ -58,7 +58,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/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?rev=1805744&r1=1805743&r2=1805744&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java Tue Aug 22 09:51:46 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/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1805744&r1=1805743&r2=1805744&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Aug 22 09:51:46 2017 @@ -135,6 +135,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> <subsection name="Other"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org