You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2009/07/01 11:56:08 UTC
svn commit: r790095 -
/tomcat/sandbox/tomcat-oacc/trunk/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java
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