mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 03:25:33 +00:00
add flags to xa_* debug logging
This commit is contained in:
parent
3d63ca75fb
commit
40c09ed5e5
@ -347,7 +347,7 @@ public class TransactionContext implements XAResource {
|
|||||||
public void start(Xid xid, int flags) throws XAException {
|
public void start(Xid xid, int flags) throws XAException {
|
||||||
|
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("Start: " + xid);
|
LOG.debug("Start: " + xid + ", flags:" + flags);
|
||||||
}
|
}
|
||||||
if (isInLocalTransaction()) {
|
if (isInLocalTransaction()) {
|
||||||
throw new XAException(XAException.XAER_PROTO);
|
throw new XAException(XAException.XAER_PROTO);
|
||||||
@ -380,7 +380,7 @@ public class TransactionContext implements XAResource {
|
|||||||
public void end(Xid xid, int flags) throws XAException {
|
public void end(Xid xid, int flags) throws XAException {
|
||||||
|
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("End: " + xid);
|
LOG.debug("End: " + xid + ", flags:" + flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isInLocalTransaction()) {
|
if (isInLocalTransaction()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user