Synchronizing time of log records for distributed applications
After any modification of delta time for log records that belong to a particular host, it is helpful to synchronize the time of these
records to better facilitate sorting of such records in the Log view. This is also useful for accurate display of records in the Sequence
Diagram Log Interactions view, especially when you correlate the log records on the basis of timestamp.
Synchronizing time of log records in the Log Navigator view
To specify a delta time for a log file:
- Select the log for which you want to set the delta time.
- Right-click on the log and select Properties. The Properties page opens.
- In the Delta time field, enter the values for the hours, minutes,
seconds, and milliseconds of the delta time between the selected host and a
reference host under the same monitor. The delta time is added to all the log
records in the selected log file.
Now the
Log view sorts all the log records by creationTime and sequenceNumber due to duplicated creationTime timestamps, with the delta time
correction applied. This is the default sorting order.
Synchronizing time of log records in the Profiling Monitor view
- To enable hosts and monitors in the Profiling Monitor view, click the Menu icon located in the top right corner of the view and
select Distributed Layout.
- Select the host for which you want to set the delta time. From the pop-up menu of the host in the Profiling Monitor view, select
Properties. The Properties page opens.
- In the Delta time field, enter the values for the hours, minutes and seconds of the delta time between the selected host and a
reference host under the same monitor.
The delta time is added to all the records under the selected host in the Log view.
- Select the monitor in the Profiling Monitor view. The Log view sorts all the log records by creationTime and sequenceNumber due to
duplicated creationTime timestamps, with the delta time correction applied. This is the default sorting order.
Notes:
- You must refresh the Sequence Diagram Log Interactions view for the delta time changes to be applied in it.
- This option does not modify the original value of the creationTime nor sequenceNumber in the model.
Related concepts
Determining problems in distributed
applications using the Log and Trace Analyzer
Related tasks
Setting preferences for Log and Trace Analyzer
Correlating log files
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.