Can I customize the language used by JBoss Logging without changing the JVM user.language option?
Issue
Currently our logs are being shown in regional language (e.g. pt_BR
). That makes it hard to search it in Google / Customer Portal and also the translations do not always make sense.
We would like to have an option to set JBoss Logging's language, but keep the JVM's language (user.language
, user.region
, etc) set to regional values. So, ideally we wanted something like:
JAVA_OPTS="-Duser.language=pt_BR -Djboss.logging.language=en_US"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.