The NTP Logging configuration controls which type of events are logged by the
NTP daemon using
syslog, and the verboseness of the logs. By default, the
NTP daemon will log all synchronization messages.
The logging configuration is set using the
logconfig command from within
- logconfig sequence <seq> <action> <class> <type>
Specifies the sequence for log entries so that the order of parameters may be controlled by the configuration.
Specifies the action for this log entry, as one of:
Set the mask for the log entry. Typically this would be used for the first entry to control which message class+type is logged as the base set of log entries.
Add log entries matching this specification to the specified total set of logs.
Do not log entries matching this specification in the total set of logs.
Specifies the message class, which can be one of:
All message classes
Messages about local clock events and information.
Messages about peers.
Messages about the synchronization state.
Messages about system events and status.
Specifies the type of messages to log for each class:
All types of messages.