]
Shaun Appleton updated JBTM-2119:
---------------------------------
Git Pull Request:
Write log message in ExpiredTransactionScanner when an entry is
moved
----------------------------------------------------------------------
Key: JBTM-2119
URL:
https://issues.jboss.org/browse/JBTM-2119
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Recovery
Affects Versions: 4.17.15
Reporter: Lami Akagwu
Assignee: Tom Jenkinson
Priority: Minor
When the ExpiredTransactionScanner moves a record, there is no log entry about what it
has done. It should be more verbose i.e. a WARN message
public class ExpiredTransactionScanner implements ExpiryScanner
.. ..
public boolean moveEntry (Uid newUid) throws ObjectStoreException
{
.. ..
if (!moved) {
tsLogger.i18NLogger.info_recovery_ExpiredTransactionStatusManagerScanner_3(newUid);
}
else
res = _recoveryStore.remove_committed(newUid, _typeName);
}
Request to add WARN log entry to else block
if (!moved) {
tsLogger.i18NLogger.info_recovery_ExpiredTransactionStatusManagerScanner_3(newUid);
}
else
res = _recoveryStore.remove_committed(newUid, _typeName);
tsLogger.arjLoggerI18N.warn(""ExpiredTransactionScanner - log
" + newUid + " is assumed complete and will be moved.").
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: