Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the language of JBoss error messages?

Tags:

eclipse

jboss

It seems like a rather simple question that should be easily answerable by Google, but surprisingly I could not find the necessary information.

Currently, JBoss error messages are displayed in German in my Eclipse Console. I would like them to be in the original English to be better able to google for them.

How can I do that?

We are using JBoss Enterprise Application Server 6 and Eclipse Indigo Service Release 1.

like image 461
Christoph Wurm Avatar asked Oct 11 '12 10:10

Christoph Wurm


People also ask

How do I change the logging level in JBoss?

Note: You need not restart the site for JBoss to pick up these changes. To change log levels as a root user, perform the following: To enable debug logging, run the following command: /subsystem=logging/root-logger=ROOT:change-root-log-level(level=DEBUG)

What is WildFly in JBoss EAP?

“Wildfly is the upstream project JBoss EAP is built on,” said James Falkner, technical product manager for Red Hat Runtimes. “A lot of new features that end up in JBoss EAP start their lives in WildFly.” JBoss AS version 7 — which supported Java EE 6 — was the last official JBoss AS release.

What is logging in JBoss?

Logging is controlled from a central conf/jboss-log4j. xml file. This file defines a set of appenders specifying the log files, what categories of messages should go there, the message format and the level of filtering. By default, JBoss produces output to both the console and a log file ( log/server. log ).


1 Answers

Adding -Duser.language=en to the VM arguments does the trick:

In Eclipse:

"Window - Preferences - Java - Installed JREs"

Choose a JRE

"Edit..."

Default VM Arguments: -Duser.language=en

like image 86
Christoph Wurm Avatar answered Sep 30 '22 03:09

Christoph Wurm