From: Harlan Stenn Date: Tue, 4 Apr 2006 07:16:32 +0000 (-0400) Subject: [Bug 588] logfile documentation problems X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf8eaeba43542753da830ca77fe2c3e96928e907;p=thirdparty%2Fntp.git [Bug 588] logfile documentation problems bk: 44321d50xhqQKlvX5n3xvkGUqpbhDg --- diff --git a/html/miscopt.html b/html/miscopt.html index 73c7f617a9..54041b1979 100644 --- a/html/miscopt.html +++ b/html/miscopt.html @@ -61,8 +61,9 @@ unless the current and previous values are the same. A tolerance of
includefile includefile
This command allows additional configuration commands to be included from a separate file. Include files may be nested to a depth of five; upon reaching the end of any include file, command processing resumes in the previous configuration file. This option is useful for sites that run ntpd on multiple hosts, with (mostly) common options (e.g., a restriction list).
logconfig configkeyword -
This command controls the amount and type of output written to the system syslog facility or the alternate logfile log file. By default, all output is turned on. All configkeyword keywords can be prefixed with =, + and -, where = sets the syslogmask, + adds and - removes messages. syslog messages can be controlled in four classes (clock, peer, sys and sync). Within these classes four types of messages can be controlled: informational messages (info), event messages (events), statistics messages (statistics) and status messages (status). -

Configuration keywords are formed by concatenating the message class with the event class. The all prefix can be used instead of a message class. A message class may also be followed by the all keyword to enable/disable all messages of the respective message class.Thus, a minimal log configuration could look like this:

+
This command controls the amount and type of output written to the system syslog facility or the alternate logfile log file. All configkeyword keywords can be prefixed with =, + and -, where = sets the syslogmask, + adds and - removes messages. syslog messages can be controlled in four classes (clock, peer, sys and sync). Within these classes four types of messages can be controlled: informational messages (info), event messages (events), statistics messages (statistics) and status messages (status). +

Configuration keywords are formed by concatenating the message class with the event class. The all prefix can be used instead of a message class. A message class may also be followed by the all keyword to enable/disable all messages of the respective message class. By default, logconfig output is set to allsync. +

Thus, a minimal log configuration could look like this:

logconfig=syncstatus +sysevents

@@ -71,14 +72,13 @@ unless the current and previous values are the same. A tolerance of
-

logconfig=syncall +clockall

+

logconfig=allsync +allclock

This configuration will list all clock information and synchronization information. All other events and messages about peers, system events and so on is suppressed.

-
-

logfile logfile

+
logfile logfile

This command specifies the location of an alternate log file to be used instead of the default system syslog facility. This is the same operation as the -l command line option.