Add Configurable Patterns for Paths - UG1602

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2024-12-19
Revision
1.2 English

Add configurable patterns for log, state, control, and stats paths. For example:

  • Support logging to a directory shared between hosts:
    json_stats /nfs/log/sfptpd-stats-%H:%Cd.jsonl
  • Esoteric use cases requiring multiple sfptpd instances:
    state_path /var/lib/sfptpd-%P
    control_path /run/sfptpd-%P-control.sock

See the message_log, state_path, control_path, stats_file, and json_stats options in Configuration Options.