[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
Fri Feb 15 10:51:00 EST 2019
[ https://issues.jboss.org/browse/JBTM-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondra Chaloupka updated JBTM-3107:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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 of 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