You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2014/01/16 15:02:25 UTC

git commit: add flags to xa_* debug logging

Updated Branches:
  refs/heads/trunk 3d63ca75f -> 40c09ed5e


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/40c09ed5
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/40c09ed5
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/40c09ed5

Branch: refs/heads/trunk
Commit: 40c09ed5e5ba8b3f647d765a8cec1e298c871bfc
Parents: 3d63ca7
Author: gtully <ga...@gmail.com>
Authored: Thu Jan 16 14:01:19 2014 +0000
Committer: gtully <ga...@gmail.com>
Committed: Thu Jan 16 14:02:09 2014 +0000

----------------------------------------------------------------------
 .../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/40c09ed5/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()) {