Logging preferences window

The Log and Trace Analyzer provides a Logging preferences window which enables you to specify the level of logging details that are recorded in the CommonBaseEvents.log. The logging preferences consist of a Loggers tab and a General tab.

Loggers

This tab displays the list of plug-ins implementing the com.ibm.etools.common.logging.commonLoggingOptions extension point, which is defined by the com.ibm.etools.common.logging plug-in.

The table is composed of the following columns:

Logger Name
The name of the logger specified by the commonLogginOptions extension point.  
Note: If no name is specified, the default logging name defined by the com.ibm.etools.logging.commonLoggingDefault extension point will be used.
 
Logging Level
The logging level specified by the commonLoggingOptions extension point.
The logging level indicates the amount of detail that will be logged. Once a logging level is selected, messages with the same logging level or a higher logging level than the logging level selected will be logged to the CommonBaseEvents.log file.
Note: When the level that is selected is NONE, no messages are logged.

The order of logging levels is as follows:

  1. ALL (all information logged)
  2. FINEST (lowest level: most information logged)
  3. FINER
  4. FINE
  5. CONFIG
  6. INFO
  7. WARNING
  8. SEVERE (highest level: least information logged)
  9. NONE (no logging)

For example, if you select WARNING, SEVERE messages will be included but INFO messages will not.


Note:

General

This tab displays the workbench default logging options, and has the following fields:

Default logging level

This is the default logging level applied to all loggers which do not provide their own logging level. The default level is specified by the com.ibm.etools.common.logging.commonLoggingDefaultOptions extension point, and is set to CONFIG.

Only messages with the same or higher logging level than the logging level selected will be logged to the CommonBaseEvents.log file. If NONE is selected, no messages are logged. Refer to the order of logging levels under the Logging levels section for Loggers.

Related references
Common Logging Strategy

Related tasks
Setting logging preferences