Ludovic HOCHET created LOG4J2-1277:
--------------------------------------
Summary: FormattedMessage, MessageFormatMessage and
StringFormattedMessage should support passing in a Locale to ensure appropriate
formatting
Key: LOG4J2-1277
URL: https://issues.apache.org/jira/browse/LOG4J2-1277
Project: Log4j 2
Issue Type: Improvement
Components: API
Affects Versions: 2.6
Reporter: Ludovic HOCHET
Priority: Minor
MessageFormatMessage uses MessageFormat,format(pattern, args),
StringFormattedMessage uses String.format(pattern, args) both are using the
default Locale to format the numbers.
Sometime it is desirable/needed to use a specific locale (for instance
[LOG4J2-1276], or for a system running in one locale but which logs are
exploited in another), therefore FormattedMessage, MessageFormatMessage and
StringFormattedMessage should support passing in a Locale to ensure appropriate
formatting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]