[jboss-cvs] JBoss Messaging SVN: r1641 - branches/Branch_1_0_XARecovery/src/main/org/jboss/messaging/core/tx

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 27 07:09:39 EST 2006


Author: juha at jboss.org
Date: 2006-11-27 07:09:37 -0500 (Mon, 27 Nov 2006)
New Revision: 1641

Modified:
   branches/Branch_1_0_XARecovery/src/main/org/jboss/messaging/core/tx/TransactionRepository.java
Log:
fix logging

Modified: branches/Branch_1_0_XARecovery/src/main/org/jboss/messaging/core/tx/TransactionRepository.java
===================================================================
--- branches/Branch_1_0_XARecovery/src/main/org/jboss/messaging/core/tx/TransactionRepository.java	2006-11-27 12:09:00 UTC (rev 1640)
+++ branches/Branch_1_0_XARecovery/src/main/org/jboss/messaging/core/tx/TransactionRepository.java	2006-11-27 12:09:37 UTC (rev 1641)
@@ -51,6 +51,7 @@
  * 
  * @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
  * @author <a href="mailto:Konda.Madhu at uk.mizuho-sc.com">Madhu Konda</a>
+ * @author <a href="mailto:juha at jboss.org">Juha Lindfors</a>
  *
  * @version $Revision 1.1 $
  *
@@ -118,8 +119,7 @@
 			}
          catch (Exception e)
          {
-            // TODO: [JPL] fix this
-				e.printStackTrace();
+				log.debug("Exception in replaying a prepared transaction.", e);
 			}
 
 			if (tx.xid != null && tx.getState() == Transaction.STATE_PREPARED)
@@ -300,8 +300,7 @@
 			}
          catch (Throwable e)
          {
-            // TODO: [JPL] fix this
-				e.printStackTrace();
+				log.debug("Acknowledgement failed.", e);
 			}
 		}
 	}




More information about the jboss-cvs-commits mailing list