[jbossts-issues] [JBoss JIRA] (JBTM-2119) Write log message in ExpiredTransactionScanner when an entry is moved

Lami Akagwu (JIRA) issues at jboss.org
Tue Mar 11 06:43:10 EDT 2014


Lami Akagwu created JBTM-2119:
---------------------------------

             Summary:  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


More information about the jbossts-issues mailing list