mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-04 08:19:56 +00:00
NO-JIRA Adding trace on RA Scan
This commit is contained in:
parent
55b0d5b0ea
commit
7558997d02
@ -577,6 +577,17 @@ public class ActiveMQSessionContext extends SessionContext {
|
||||
|
||||
Xid[] xidArray = xids.toArray(new Xid[xids.size()]);
|
||||
|
||||
if (logger.isTraceEnabled()) {
|
||||
StringBuffer buffer = new StringBuffer();
|
||||
for (int i = 0; i < xidArray.length; i++) {
|
||||
buffer.append(xidArray[i].toString());
|
||||
if (i + 1 < xidArray.length) {
|
||||
buffer.append(",");
|
||||
}
|
||||
}
|
||||
logger.trace("xaScan returning " + xidArray.length + " xids = [" + buffer.toString() + "]");
|
||||
}
|
||||
|
||||
return xidArray;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user