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
<log_directory>/synchronization.log- Format: Newline-delimited JSON (one JSON object per line)
- Configuration: Optional (highly recommended). Enable it with
[logging.synchronization];<log_directory>islogging.log_directory.
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):
{
"timestamp": "2026-07-16T14:34:00.000000Z",
"event": "<event_type>",
"<event_type>": {
...
},
"version": "3.0.0"
}| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp, with microsecond precision, of when the entry was emitted |
event | string | One of daemon_started, synchronization, system_clock_summary, system_clock_step, clock_status_change |
<event_type> | object | The event body, keyed by the value of event |
version | string | ClockBound daemon version |
| Event | Frequency | Description |
|---|---|---|
daemon_started | Rare (startup-only) | Event indicating that the ClockBound daemon started. |
synchronization | Every 60 seconds | ClockBound synchronization summary. Information about the selected time source and the clock synchronization status and accuracy achieved. |
system_clock_summary | Every 10 minutes | Aggregate system clock discipline stats. Useful to confirm the system clock is tracking time. |
system_clock_step | Rare (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_change | Rare | Event 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
{
"timestamp": "2026-07-16T14:30:00.120000Z",
"event": "daemon_started",
"daemon_started": {
"message": "ClockBound daemon started"
},
"version": "3.0.0"
}Fields
| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp of when this entry was emitted |
event | string | Always "daemon_started" |
version | string | ClockBound daemon version |
daemon_started.message | string | Always "ClockBound daemon started" |
Event: synchronization
Reports the current selected source and the clock synchronization derived from it.
Example
{
"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:
{
"timestamp": "2026-07-16T14:30:08.000000Z",
"event": "synchronization",
"synchronization": {
"source": null,
"ffclock": null
},
"version": "3.0.0"
}Fields
| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp of when this entry was emitted |
event | string | Always "synchronization" |
version | string | ClockBound daemon version |
synchronization.source | object or null | The selected time source. null if no source has been selected. |
synchronization.source.type | string | Source type, one of ntp or phc |
synchronization.source.identifier | string | IP address and port for an NTP source. Device path for a PHC source. |
synchronization.source.selected_at | string | ISO 8601 UTC timestamp of when the time source was selected |
synchronization.source.clock_error_bound_ns | integer | The clock error bound of the time source when it was selected at selected_at |
synchronization.ffclock | object or null | The ClockBound daemon clock. null if no source has been selected. |
synchronization.ffclock.time_sync | string | ISO 8601 UTC timestamp of the instant at which the ffclock was last synchronized |
synchronization.ffclock.clock_error_bound_ns | integer | The Clock Error Bound of the ClockBound daemon when the ffclock was synchronized at time_sync |
synchronization.ffclock.status | string | The 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
{
"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
| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp of when this entry was emitted |
event | string | Always "system_clock_summary" |
version | string | ClockBound daemon version |
system_clock_summary.window_width_s | integer | Past window size over which statistics are computed (in seconds) |
system_clock_summary.correction_count | integer | Number of corrections applied to the system clock over the window |
system_clock_summary.correction_ns | object or null | Statistics 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
{
"timestamp": "2026-07-16T14:30:01.200000Z",
"event": "system_clock_step",
"system_clock_step": {
"step_ns": -842000000
},
"version": "3.0.0"
}Fields
| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp of when this entry was emitted |
event | string | Always "system_clock_step" |
version | string | ClockBound daemon version |
system_clock_step.step_ns | integer | The 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
{
"timestamp": "2026-07-16T15:22:03.400000Z",
"event": "clock_status_change",
"clock_status_change": {
"from": "SYNCHRONIZED",
"to": "DISRUPTED"
},
"version": "3.0.0"
}Fields
| Field | Type | Description |
|---|---|---|
timestamp | string | ISO 8601 UTC timestamp of when this entry was emitted |
event | string | Always "clock_status_change" |
version | string | ClockBound daemon version |
clock_status_change.from | string | Previous status |
clock_status_change.to | string | New status |
Clock status values
| Status | Meaning |
|---|---|
UNKNOWN | Initial state - no clock estimate has been produced yet. Also reported when a VMClock device is expected but has failed. |
SYNCHRONIZED | The clock estimate is fresh (updated within the last 60 seconds) |
FREE_RUNNING | The clock estimate is stale (no update in ≥ 60 seconds). CEB is growing |
DISRUPTED | A 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:
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 failedA 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.