add flags to xa_* debug logging

This commit is contained in:
gtully 2014-01-16 14:01:19 +00:00
parent 3d63ca75fb
commit 40c09ed5e5
1 changed files with 2 additions and 2 deletions

View File

@ -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()) {