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

Tom Jenkinson (JIRA) issues at jboss.org
Mon Aug 17 11:59:26 EDT 2015


     [ https://issues.jboss.org/browse/JBTM-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson updated JBTM-2312:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/jbosstm/narayana/pull/900


> 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
>             Fix For: 5.next
>
>
> 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.15#6346)



More information about the jbossts-issues mailing list