[jbossts-issues] [JBoss JIRA] (JBTM-2312) Wrong logging format of ARJUNA016005

Ondřej Chaloupka (JIRA) issues at jboss.org
Tue Dec 2 11:42:39 EST 2014


Ondřej Chaloupka created JBTM-2312:
--------------------------------------

             Summary: Wrong logging format of ARJUNA016005
                 Key: JBTM-2312
                 URL: https://issues.jboss.org/browse/JBTM-2312
             Project: JBoss Transaction Manager
          Issue Type: Bug
          Components: Recovery
    Affects Versions: 4.17.24
            Reporter: Ondřej Chaloupka
            Assignee: Tom Jenkinson
            Priority: Minor


Logging format of warning warn_recovery_failedtorecover is strange or maybe better to say wrong. It looks:
{code}
WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016005: JTS XARecoveryModule.xaRecovery - failed to recover XAResource. status is $2 
{code}

This message came from XAResourceRecord.xaRecoverySecondPass and it's message warn_recovery_failedtorecover. The code with dolar sign seems to me a bit confusing.
I think it would be better first not have the dolar sign there and second rather to print string representation of the error code.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the jbossts-issues mailing list