[jboss-jira] [JBoss JIRA] (LOGMGR-145) A Locale should be used for formatting FormatStyle.PRINTF log records

David Lloyd (JIRA) issues at jboss.org
Tue Nov 15 15:41:00 EST 2016


    [ https://issues.jboss.org/browse/LOGMGR-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13323238#comment-13323238 ] 

David Lloyd commented on LOGMGR-145:
------------------------------------

MessageFormat also allows a locale to be set.  Also, the MessageBundle method(s) use Locale to locate the right bundle.

> A Locale should be used for formatting FormatStyle.PRINTF log records
> ---------------------------------------------------------------------
>
>                 Key: LOGMGR-145
>                 URL: https://issues.jboss.org/browse/LOGMGR-145
>             Project: JBoss Log Manager
>          Issue Type: Enhancement
>            Reporter: James Perkins
>            Priority: Minor
>
> If the {{FormatStyle.PRINTF}} is used a {{Locale}} should be used in the {{String.format()}} invocation. The locale may be stored in the {{ExtLogRecord}}. Log methods should likely be added to accept the {{Locale}} as a parameter.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list