activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject git commit: add flags to xa_* debug logging
Date Thu, 16 Jan 2014 14:02:25 GMT
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 <gary.tully@gmail.com>
Authored: Thu Jan 16 14:01:19 2014 +0000
Committer: gtully <gary.tully@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()) {


Mime
View raw message