Setting logging preferences
To set preferences and customize the Log and Trace Analyzer, select: Windows > Preferences,
then choose one of the categories under Profiling and Logging.
You can set which resources appear in the Profiling Monitor by default.
- Select Window > Preferences > Profiling and Logging > Appearance

- Check the resources that should appear. Click Apply.
- To close the Preferences window, click OK.
You can customize the Log view by setting the timestamp, selecting sort
parameters, and selecting what to display.
- Select Window > Preferences > Profiling and Logging > Log
View.
- Select the Timestamp Format tab.
- Select the date and time format. Click Apply.
- To close the Preferences window, click OK.
- Select Window > Preferences > Profiling and Logging > Log
View.
- Select the Sort Records tab. See the list of properties (fields) of log records
that are currently available and are being used to sort logs.
- Select the properties by which you want records sorted and move them to
the Selected Properties area using the arrow controls.
Notes:
- The order in which the selected record fields appear is used as the
criteria to sort the records.
- By default, no sorting is done on the log records. They appear in
random order.
- The double arrow controls move all the properties
between areas.
- To reorder the selected properties, click Up or Down. The
new Sort by criterion is displayed as
you do this.
- Click Apply. The changes are applied
- To close the Preferences window, click OK.
To see the resorted list, click the Refresh Views button
from the Profiling Monitor view.
- Select Window > Preferences > Profiling and Logging > Log
View.
- Select the Filter Properties tab. See the list of properties (fields) of log
records that are currently available and visible in
the Log view.
- Deselect a field to filter it out from the Log view.
- To reorder the properties, click Up or Down.
- To filter out properties by severity level, deselect: Error, Warning,
or Information.
For example, to display only records for which the severity of the problem is
error, clear the check boxes for Warning and Information so
that only the Error check box is selected.
- Click Apply. The changes are applied
- To close the Preferences window, click OK.
Use the Trace Associations preference page to set the
Profiling and Logging views associated with a trace type and also to set the default view
to open when double clicking on a profiling resource.

- Select Window > Preferences
> Profiling and Logging > Trace Associations.
- Under Trace types, select the resource to associate.
- To associate a view with the selected resource, click Add.
The Add association window appears. Select views to associated with the
resource. Click OK.
- To remove an association between the selected resource and a view, select
the View, then click Remove.
- To change the default view for the selected resource, select the view,
then click Set Default.
- To close the Preferences window, click OK.
Logging your workbench activity
The workbench itself can create a log.
- Select Window > Preferences
> Profiling and Logging.
- To enable or disable the workbench log, use the Enable logging
checkbox.
Related concepts
Overview of the Log and Trace Analyzer
Overview of the Profiling Tool
Related tasks
Synchronizing time
Setting
profiling preferences
Time
(C) Copyright IBM Corporation 2000, 2003. All Rights Reserved.