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:

  1. Select the log for which you want to set the delta time.
  2. Right-click on the log and select Properties. The Properties page opens.
  3. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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:

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