tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r790095 - /tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java
Date Wed, 01 Jul 2009 09:56:08 GMT
Author: rjung
Date: Wed Jul  1 09:56:07 2009
New Revision: 790095

URL: http://svn.apache.org/viewvc?rev=790095&view=rev
Log:
Keep class in sync with TC 5.5.
Only logging changes.

Modified:
    tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java

Modified: tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java?rev=790095&r1=790094&r2=790095&view=diff
==============================================================================
--- tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java
(original)
+++ tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java
Wed Jul  1 09:56:07 2009
@@ -170,8 +170,7 @@
     protected void setupSocket() throws IOException {
         if (mcastBindAddress != null) {
             try {
-                if(log.isInfoEnabled())
-                    log.info("Attempting to bind the multicast socket to "+address+":"+port);
+                log.info("Attempting to bind the multicast socket to "+address+":"+port);
                 socket = new MulticastSocket(new InetSocketAddress(address,port));
             } catch (BindException e) {
                 /*
@@ -179,7 +178,7 @@
                  * to the multicast address. In this case only bind to the
                  * port.
                  */
-                log.warn("Binding to multicast address, failed. Binding to port only.");
+                log.info("Binding to multicast address, failed. Binding to port only.");
                 socket = new MulticastSocket(port);
             }
         } else {



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


Mime
View raw message