activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject [03/25] git commit: add flags to xa_* debug logging
Date Thu, 20 Mar 2014 15:58:58 GMT
add flags to xa_* debug logging


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/28420bf5
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/28420bf5
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/28420bf5

Branch: refs/heads/activemq-5.9
Commit: 28420bf550601ecb6109491aecbd265c52d9f402
Parents: 0ed8319
Author: gtully <gary.tully@gmail.com>
Authored: Thu Jan 16 14:01:19 2014 +0000
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Thu Mar 20 11:24:38 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/activemq/TransactionContext.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/28420bf5/activemq-client/src/main/java/org/apache/activemq/TransactionContext.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/main/java/org/apache/activemq/TransactionContext.java b/activemq-client/src/main/java/org/apache/activemq/TransactionContext.java
index 7ff8702..43aacf7 100755
--- a/activemq-client/src/main/java/org/apache/activemq/TransactionContext.java
+++ b/activemq-client/src/main/java/org/apache/activemq/TransactionContext.java
@@ -347,7 +347,7 @@ public class TransactionContext implements XAResource {
     public void start(Xid xid, int flags) throws XAException {
 
         if (LOG.isDebugEnabled()) {
-            LOG.debug("Start: " + xid);
+            LOG.debug("Start: " + xid + ", flags:" + flags);
         }
         if (isInLocalTransaction()) {
             throw new XAException(XAException.XAER_PROTO);
@@ -380,7 +380,7 @@ public class TransactionContext implements XAResource {
     public void end(Xid xid, int flags) throws XAException {
 
         if (LOG.isDebugEnabled()) {
-            LOG.debug("End: " + xid);
+            LOG.debug("End: " + xid + ", flags:" + flags);
         }
 
         if (isInLocalTransaction()) {


Mime
View raw message