Skip to content

Synchronization Log

The history of the local system's time quality.

The synchronization log is the history of the local system's time quality. It presents snapshot summaries of clock quality, the selected source and system clock adjustments, as well as changes to clock status.

Log location 

path
<log_directory>/synchronization.log

Event types 

Each line in the log file is a JSON object. The following top level keys are included in every JSON object (examples on this page are pretty-printed; in the file each object is on a single line):

json
{
  "timestamp": "2026-07-16T14:34:00.000000Z",
  "event": "<event_type>",
  "<event_type>": {
    ...
  },
  "version": "3.0.0"
}
FieldTypeDescription
timestampstringISO 8601 UTC timestamp, with microsecond precision, of when the entry was emitted
eventstringOne of daemon_started, synchronization, system_clock_summary, system_clock_step, clock_status_change
<event_type>objectThe event body, keyed by the value of event
versionstringClockBound daemon version
EventFrequencyDescription
daemon_startedRare (startup-only)Event indicating that the ClockBound daemon started.
synchronizationEvery 60 secondsClockBound synchronization summary. Information about the selected time source and the clock synchronization status and accuracy achieved.
system_clock_summaryEvery 10 minutesAggregate system clock discipline stats. Useful to confirm the system clock is tracking time.
system_clock_stepRare (startup-only)Event indicating that the system clock was stepped at daemon startup, because it was more than 100 milliseconds away from the estimated time.
clock_status_changeRareEvent indicating that the clock status has changed, for example from FREE_RUNNING to SYNCHRONIZED.

Periodic entries serve as a heartbeat. Event-driven entries fire only on exceptional state changes.

Event-driven entries (system_clock_step, clock_status_change) may also be emitted to stdout (though they will contain less detail in this case).

Event: daemon_started 

Emitted once when the daemon starts.

Example 

json
{
  "timestamp": "2026-07-16T14:30:00.120000Z",
  "event": "daemon_started",
  "daemon_started": {
    "message": "ClockBound daemon started"
  },
  "version": "3.0.0"
}

Fields 

FieldTypeDescription
timestampstringISO 8601 UTC timestamp of when this entry was emitted
eventstringAlways "daemon_started"
versionstringClockBound daemon version
daemon_started.messagestringAlways "ClockBound daemon started"

Event: synchronization 

Reports the current selected source and the clock synchronization derived from it.

Example 

json
{
  "timestamp": "2026-07-16T14:34:00.000000Z",
  "event": "synchronization",
  "synchronization": {
    "source": {
      "type": "ntp",
      "identifier": "169.254.169.123:123",
      "selected_at": "2026-07-16T13:00:00.000000Z",
      "clock_error_bound_ns": 102000
    },
    "ffclock": {
      "time_sync": "2026-07-16T14:33:59.500000Z",
      "clock_error_bound_ns": 108500,
      "status": "SYNCHRONIZED"
    }
  },
  "version": "3.0.0"
}

Before the daemon has selected a source, both source and ffclock are null:

json
{
  "timestamp": "2026-07-16T14:30:08.000000Z",
  "event": "synchronization",
  "synchronization": {
    "source": null,
    "ffclock": null
  },
  "version": "3.0.0"
}

Fields 

FieldTypeDescription
timestampstringISO 8601 UTC timestamp of when this entry was emitted
eventstringAlways "synchronization"
versionstringClockBound daemon version
synchronization.sourceobject or nullThe selected time source. null if no source has been selected.
synchronization.source.typestringSource type, one of ntp or phc
synchronization.source.identifierstringIP address and port for an NTP source. Device path for a PHC source.
synchronization.source.selected_atstringISO 8601 UTC timestamp of when the time source was selected
synchronization.source.clock_error_bound_nsintegerThe clock error bound of the time source when it was selected at selected_at
synchronization.ffclockobject or nullThe ClockBound daemon clock. null if no source has been selected.
synchronization.ffclock.time_syncstringISO 8601 UTC timestamp of the instant at which the ffclock was last synchronized
synchronization.ffclock.clock_error_bound_nsintegerThe Clock Error Bound of the ClockBound daemon when the ffclock was synchronized at time_sync
synchronization.ffclock.statusstringThe clock synchronization status of the ClockBound daemon algorithm, one of SYNCHRONIZED, FREE_RUNNING, DISRUPTED or UNKNOWN.

Event: system_clock_summary 

Summarizes system clock discipline activity since the previous snapshot. Reports how many corrections were applied and their magnitude.

Example 

json
{
  "timestamp": "2026-07-16T14:40:00.000000Z",
  "event": "system_clock_summary",
  "system_clock_summary": {
    "window_width_s": 600,
    "correction_count": 4,
    "correction_ns": {
      "min": -4800,
      "max": -3200,
      "mean": -4100
    }
  },
  "version": "3.0.0"
}

Fields 

FieldTypeDescription
timestampstringISO 8601 UTC timestamp of when this entry was emitted
eventstringAlways "system_clock_summary"
versionstringClockBound daemon version
system_clock_summary.window_width_sintegerPast window size over which statistics are computed (in seconds)
system_clock_summary.correction_countintegerNumber of corrections applied to the system clock over the window
system_clock_summary.correction_nsobject or nullStatistics on corrections, in nanoseconds, applied to the system clock over the window: min, max and mean (signed integers). null if no correction was applied

Event: system_clock_step 

Emitted when the system clock is stepped (jumped immediately rather than slewed gradually). This occurs only at daemon startup, and only when the system clock is more than 100 milliseconds away from the estimated time. A smaller offset is slewed instead, and no system_clock_step entry is written.

Example 

json
{
  "timestamp": "2026-07-16T14:30:01.200000Z",
  "event": "system_clock_step",
  "system_clock_step": {
    "step_ns": -842000000
  },
  "version": "3.0.0"
}

Fields 

FieldTypeDescription
timestampstringISO 8601 UTC timestamp of when this entry was emitted
eventstringAlways "system_clock_step"
versionstringClockBound daemon version
system_clock_step.step_nsintegerThe adjustment applied to the system clock, in nanoseconds. Negative means the clock was stepped backward.

A step of -842ms (as in the example) means the system clock was 842ms ahead of the estimated time and was jumped backward at startup.

Event: clock_status_change 

Emitted when the clock's synchronization status transitions between states.

Example 

json
{
  "timestamp": "2026-07-16T15:22:03.400000Z",
  "event": "clock_status_change",
  "clock_status_change": {
    "from": "SYNCHRONIZED",
    "to": "DISRUPTED"
  },
  "version": "3.0.0"
}

Fields 

FieldTypeDescription
timestampstringISO 8601 UTC timestamp of when this entry was emitted
eventstringAlways "clock_status_change"
versionstringClockBound daemon version
clock_status_change.fromstringPrevious status
clock_status_change.tostringNew status

Clock status values 

StatusMeaning
UNKNOWNInitial state - no clock estimate has been produced yet. Also reported when a VMClock device is expected but has failed.
SYNCHRONIZEDThe clock estimate is fresh (updated within the last 60 seconds)
FREE_RUNNINGThe clock estimate is stale (no update in ≥ 60 seconds). CEB is growing
DISRUPTEDA VMClock disruption occurred. The clock estimate has been cleared

Status transitions 

The daemon re-evaluates the clock status each time its clock algorithm produces a new clock estimate, and when it handles a VMClock disruption:

transitions
UNKNOWN      → SYNCHRONIZED   First clock estimate produced
SYNCHRONIZED → FREE_RUNNING   Latest clock estimate is 60 seconds old or more
FREE_RUNNING → SYNCHRONIZED   Fresh clock estimate produced
any          → DISRUPTED      VMClock disruption event received
DISRUPTED    → SYNCHRONIZED   Recovery after disruption: new clock estimate produced
any          → UNKNOWN        Clock estimate produced while an expected VMClock has failed

A transition to FREE_RUNNING means ClockBound is still providing time estimates, but the clock error bound is growing because no fresh measurements are available. Applications using the ClockBound API will see an increasing (but still valid) CEB until synchronization is restored.