[ https://issues.apache.org/jira/browse/LOG4J2-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved LOG4J2-1277. ---------------------------------- Resolution: Fixed Fix Version/s: 2.6 In git master. Please verify and close. The next question is: Should message factories also be configurable with a Locale? If so, should this be tracked in a separate ticket?. > 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 > Fix For: 2.6 > > > 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: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org