[jbossts-issues] [JBoss JIRA] (JBTM-3107) Some of the logging messages misses information from parameters

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


Ondra Chaloupka created JBTM-3107:
-------------------------------------

             Summary: Some of the logging messages misses information from parameters
                 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


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