[jbossts-issues] [JBoss JIRA] (JBTM-3107) Some of the logging messages miss parameter's values to be printed

Ondra Chaloupka (Jira) issues at jboss.org
Wed Feb 13 13:02:00 EST 2019


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

Issue was automatically transitioned when Ondra Chaloupka created pull request #1406 in GitHub
----------------------------------------------------------------------------------------------
    Status: Pull Request Sent  (was: Open)


> Some of the logging messages miss parameter's values to be printed
> ------------------------------------------------------------------
>
>                 Key: JBTM-3107
>                 URL: https://issues.jboss.org/browse/JBTM-3107
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JTA
>    Affects Versions: 5.9.2.Final
>            Reporter: Ondra Chaloupka
>            Assignee: Ondra Chaloupka
>            Priority: Major
>
> Some of the logging messages from Narayana is not enhanced with the parameters values defined in the {{i18N}} logger. For example this message is never enhanced with the values.
> {code}
> ARJUNA016133: Cant create a new instance of Xid of uid {0}, is branch: {1}, eisname: {2} 
> {code}
> The reason is usage of quotes {{'}} in the log message pattern. The quote is not expected to not being closed (see https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html). The solution is to change strings like {{Can't}} to {{Cannot}}.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list