Configuring plug-in logging using the Logging preferences window
Log and Trace Analyzer provides a preferences window
to configure the logging level for each of the plug-ins that are configured
to log events to the Common Log file and Logging Agent.
To set the level of records reported to the Common Log file and Logging Agent, follow these
steps:
- Select Window > Preferences > Logging.
- In the General page, select a default logging level for the workbench from the Default logging level list.
If you select NONE, no logging occurs.
- In the Archived file days field, specify the number of days you want to retain the archived
Common Log file.
Note: If you specify zero (0) in this field, the archived log file will never be deleted.
- To set the level of records reported for each plug-in, select the Loggers tab.
- In the Loggers page, for each plug-in, select the logging level. Only messages with the same or
higher logging level than the logging level selected will be logged to the CommonBaseEvents.xml file.
For example, if you select WARNING,
SEVERE messages will be logged but INFO messages will not.
Note: If you select NONE, no messages are logged.
- Click OK to apply the changes and close the Preferences window.
Note: Logging is turned off by default unless plug-ins explicitly define a logging level in their plugin.xml file.
Changing the message level from NONE to any other level will enable logging.
Related tasks
Setting plug-ins logging preferences
Related reference
Logging preferences for Log and Trace Analyzer
(C) Copyright IBM Corporation 2000, 2006. All Rights
Reserved.