[jboss-cvs] JBossCache/src/org/jboss/cache/buddyreplication ...
Manik Surtani
msurtani at jboss.com
Tue Aug 8 11:54:07 EDT 2006
User: msurtani
Date: 06/08/08 11:54:07
Modified: src/org/jboss/cache/buddyreplication Tag:
Branch_JBossCache_1_4_0 BuddyManager.java
NextMemberBuddyLocator.java
Log:
JBCACHE-725
Revision Changes Path
No revision
No revision
1.33.2.3 +2 -2 JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyManager.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java,v
retrieving revision 1.33.2.2
retrieving revision 1.33.2.3
diff -u -b -r1.33.2.2 -r1.33.2.3
--- BuddyManager.java 8 Aug 2006 15:50:48 -0000 1.33.2.2
+++ BuddyManager.java 8 Aug 2006 15:54:07 -0000 1.33.2.3
@@ -673,9 +673,9 @@
private void broadcastBuddyPoolMembership(List recipients)
{
// broadcast to other caches
- if (log.isInfoEnabled())
+ if (log.isDebugEnabled())
{
- log.info("Instance " + buddyGroup.getDataOwner() + " broadcasting membership in buddy pool " + buddyPoolName + " to recipients " + recipients);
+ log.debug("Instance " + buddyGroup.getDataOwner() + " broadcasting membership in buddy pool " + buddyPoolName + " to recipients " + recipients);
}
MethodCall membershipCall = MethodCallFactory.create(MethodDeclarations.remoteAnnounceBuddyPoolNameMethod, new Object[]{buddyGroup.getDataOwner(), buddyPoolName});
1.3.2.1 +8 -8 JBossCache/src/org/jboss/cache/buddyreplication/NextMemberBuddyLocator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NextMemberBuddyLocator.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/NextMemberBuddyLocator.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -b -r1.3 -r1.3.2.1
--- NextMemberBuddyLocator.java 26 Apr 2006 16:43:42 -0000 1.3
+++ NextMemberBuddyLocator.java 8 Aug 2006 15:54:07 -0000 1.3.2.1
@@ -77,9 +77,9 @@
{
ignoreColocatedBuddiesForSession = false;
i = 0;
- if (log.isWarnEnabled())
+ if (log.isInfoEnabled())
{
- log.warn("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates - trying with colocated buddies as well.");
+ log.info("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates - trying with colocated buddies as well.");
}
continue;
}
@@ -90,9 +90,9 @@
buddyPoolMap = null;
ignoreColocatedBuddiesForSession = ignoreColocatedBuddies; // reset this flag
i = 0;
- if (log.isWarnEnabled())
+ if (log.isInfoEnabled())
{
- log.warn("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates - trying again, ignoring buddy pool hints.");
+ log.info("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates - trying again, ignoring buddy pool hints.");
}
continue;
}
@@ -101,9 +101,9 @@
// completely and still havent found any more suitable candidates. Give up with however many we have.
if (subscript >= currentMembership.size())
{
- if (log.isWarnEnabled())
+ if (log.isInfoEnabled())
{
- log.warn("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates!");
+ log.info("Expected to look for " + numBuddiesToFind + " buddies but could only find " + buddies.size() + " suitable candidates!");
}
break;
}
@@ -158,9 +158,9 @@
catch (SocketException e)
{
if (log.isDebugEnabled()) log.debug("Unable to read NICs on host", e);
- if (log.isWarnEnabled())
+ if (log.isInfoEnabled())
{
- log.warn("UNable to read all network interfaces on host " + inetD + " to determine colocation of " + inetC + ". Assuming " + inetC + " is NOT colocated with " + inetD);
+ log.info("UNable to read all network interfaces on host " + inetD + " to determine colocation of " + inetC + ". Assuming " + inetC + " is NOT colocated with " + inetD);
}
}
More information about the jboss-cvs-commits
mailing list