Friday, January 25, 2008

Tired of norwegian log files in WebSphere Portal?

A colleague of mine found this tip on changing log files in WebSphere Portal from Norwegian to English. Guess it applies to all languages as well :-)


Changing the language used in the log file
By default, information in the log file is written in the language that was used for the WebSphere Portal installation. However, because WebSphere Portal supports a number of languages, you can choose to have the log file information written in a language other than that used during installation.

To change the language used for the log file, edit the file log.properties. This file is located in the following WebSphere Portal directory:

  • Windows: portal_server_root\shared\app\config
  • UNIX: portal_server_root/shared/app/config
  • i5/OS: portal_server_root/shared/app/config

Add the following line:
locale=xx

where xx is the two-letter abbreviation for the locale. For example, to have log information generated in English, you would add the following line:
locale=en

For more language codes, check this out:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wps/adsyslog.html

Thanks Petter for the Tip!

No comments: