Wednesday, February 13, 2008

Switching the Websphere log language

The fact that IBM translated all their log messages into German is actually very nice of them. However, I'm not really pleased with it because you won't find anything on the web when searching for German error messages. Hence, reverting to Englisch messages would be desirable but as it seems there's no switch in the Websphere admin console saying "change log language"...

So here's a kind of brutal but effective approach to change the log language of a Websphere Application Server:
  1. In the admin console navigate to your server.
  2. In the section "Server Infrastructure", expand the node "Java and Process Management" and click "Process Definition".
  3. In the section "Additional Properties", click "Java Virtual Machine".
  4. To the "Generic JVM arguments", add the following argument: "-Duser.language=US"
That's it. Restart the server and have fun...
Matthias

No comments: