[
https://issues.jboss.org/browse/JBTM-2119?page=com.atlassian.jira.plugin....
]
Tom Jenkinson commented on JBTM-2119:
-------------------------------------
Hi Lami,
Would you be interested in contributing a pull request for this enhancement?
If so, please can you sign the CLA over here:
https://cla.jboss.org/index.seam (the
project is JBoss Transactions)
The raise a pull request against either 4.17 or master over here:
https://github.com/jbosstm/narayana/pulls
Many thanks,
Tom
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: Feature Request
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:
http://www.atlassian.com/software/jira