[jboss-jira] [JBoss JIRA] (JBLOGGING-84) Configurable default Locale for Logger#getMessageLogger()
David Lloyd (JIRA)
jira-events at lists.jboss.org
Fri Dec 7 09:48:17 EST 2012
[ https://issues.jboss.org/browse/JBLOGGING-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740135#comment-12740135 ]
David Lloyd commented on JBLOGGING-84:
--------------------------------------
Unfortunately this won't really solve anything, since not every application and framework will log through JBoss Logging. Even if this were changed both here and in the log manager itself, libraries which do i18n logging via log4j and applications loading resource bundles (for whatever purpose) will still use the default locale. It is a far more effective, and simpler, solution to just set the system locale before booting the server.
> Configurable default Locale for Logger#getMessageLogger()
> ---------------------------------------------------------
>
> Key: JBLOGGING-84
> URL: https://issues.jboss.org/browse/JBLOGGING-84
> Project: JBoss Logging
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Michael Locher
> Assignee: David Lloyd
>
> Please make the Locale for org.jboss.logging.Logger#getMessageLogger configurable (e.g. via a system property).
> Use Case:
> Having different locales for 'application code' which is deployed in JBAPP (specified as JVM default at startup and available via Locale.getDefault()) and the locale for logging of JBAPP.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list