tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1836787 - in /tomcat/trunk/java/org/apache/catalina/tribes/membership: LocalStrings.properties StaticMembershipService.java
Date Fri, 27 Jul 2018 07:59:28 GMT
Author: kfujino
Date: Fri Jul 27 07:59:28 2018
New Revision: 1836787

URL: http://svn.apache.org/viewvc?rev=1836787&view=rev
Log:
Add log messages.

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/membership/LocalStrings.properties
    tomcat/trunk/java/org/apache/catalina/tribes/membership/StaticMembershipService.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/membership/LocalStrings.properties?rev=1836787&r1=1836786&r2=1836787&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/membership/LocalStrings.properties (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/membership/LocalStrings.properties Fri Jul
27 07:59:28 2018
@@ -49,4 +49,5 @@ memberImpl.notEnough.bytes=Not enough by
 memberImpl.invalid.package.end=Invalid package, should end with:[{0}]
 memberImpl.unableParse.hostname=Unable to parse hostname.
 memberImpl.large.payload=Payload is to large for tribes to handle.
-staticMember.invalid.uuidLength=UUID must be exactly 16 bytes, not:[{0}]
\ No newline at end of file
+staticMember.invalid.uuidLength=UUID must be exactly 16 bytes, not:[{0}]
+staticMembershipService.stopFail=Unable to stop the static membership service, level: [{0}]
\ No newline at end of file

Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/StaticMembershipService.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/membership/StaticMembershipService.java?rev=1836787&r1=1836786&r2=1836787&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/membership/StaticMembershipService.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/membership/StaticMembershipService.java Fri
Jul 27 07:59:28 2018
@@ -76,8 +76,7 @@ public class StaticMembershipService ext
                 channel = null;;
             }
         } catch (Exception e) {
-            //TODO
-            log.error("stop failed", e);
+            log.error(sm.getString("staticMembershipService.stopFail", Integer.valueOf(level)),
e);
         }
     }
 



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


Mime
View raw message