Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3107

Some of the logging messages miss parameter's values to be printed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.9.3.Final
    • 5.9.2.Final
    • JTA
    • None

      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.

      ARJUNA016133: Cant create a new instance of Xid of uid {0}, is branch: {1}, eisname: {2} 
      

      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.

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: