System event logging

 

+

Search Tips   |   Advanced Search

 

Overview

System event logging records...


Message logging

Log of messages that report errors and status information, including...

Informational Condition worth noting but does not require the user to perform an action.
Warning Abnormal condition has been detected. The user may have to take action. However, WebSphere Portal code is able to handle the condition without failing.
Error Serious failure in the execution of the application that requires further action.


Trace logging

Switched off by default.


Change the log file name and location

To change the locations of the log files...

...and select the logger type that you want to change.

In the configuration dialog change the path for the log file as required.


Change the language used in the log file

By default, information in the log file is written in the language used in portal installation.

To change the language used for the log file, edit log.properties in....

...and add the following line:

locale=xx

...where xx is the two-letter abbreviation for the locale.

For example, generate log information in English...

locale=en


Log file format

If the logs are written to the log file of WebSphere Portal and not redirected to the logging facility WAS, the log file consists of a sequence log records that are separated by blank lines.

The log records have the following format:

timestamp classification classname method threadID messagecode: logmessage

Where:

  1. Traces are written only if the specific tracing facility is enabled; all other messages are written unconditionally.

  2. The system locale is part of the general internationalization features of WebSphere Portal and can be configured via LocalizerService.

The following is an example of a log record:

2003.05.16 13:36:14.449 W com.ibm.wps.services.datastore.DataStoreServiceImpl init 0000003a DSTO0063W: The transaction isolation level is not set to READ_COMMITTED.

The current value is TRANSACTION_REPEATABLE_READ.


See also:


Log and tracing
Set service configuration properties
Portal configuration services
WAS v6.1 Log and trace settings
WAS v7.0 Log and trace settings