[jboss-cvs] JBossCache/src/org/jboss/cache/buddyreplication ...

Vladmir Blagojevic vladimir.blagojevic at jboss.com
Mon Jul 23 11:51:52 EDT 2007


  User: vblagojevic
  Date: 07/07/23 11:51:52

  Modified:    src/org/jboss/cache/buddyreplication  BuddyManager.java
  Log:
  exception logging for BR state transfer
  
  Revision  Changes    Path
  1.86      +12 -1     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.85
  retrieving revision 1.86
  diff -u -b -r1.85 -r1.86
  --- BuddyManager.java	2 Jul 2007 22:19:15 -0000	1.85
  +++ BuddyManager.java	23 Jul 2007 15:51:52 -0000	1.86
  @@ -506,7 +506,18 @@
               }
               catch (Throwable t)
               {
  -               log.error("State for fqn " + fqn + " could not be transferred to a buddy at " + cache.getLocalAddress());
  +            	if (t instanceof CacheException)
  +                {
  +            		//excepected/common and can happen due to inactive regions and so on
  +            		log.debug(t);
  +                }
  +            	else
  +            	{
  +            		//something has gone wrong
  +            		log.error("State for fqn " + fqn
  +									+ " could not be transferred to a buddy at "
  +									+ cache.getLocalAddress(), t);
  +            	}
               }
               finally
               {
  
  
  



More information about the jboss-cvs-commits mailing list