[ntp:questions] Sending ntpd logs to syslog

Martin Burnicki martin.burnicki at meinberg.de
Thu Jan 8 16:33:35 UTC 2009


Hello Ezra,

Ezra Taylor wrote:
> Hello All:
>                 I have a some test servers that are showing drift errors. 
>                 I
> noticed that the drift errors are only going to /var/log/ntp.log and not
> to
> syslog.  I would like for the logs to go to a file with the following
> format
> date-messages.  Where date is of type Mon-messages, Tues-messages,
> Wed-messages, Thurs-messages, Fri-messages, Sat-messages and Sun-messages.
> The logs will go to the file that represents the day's date.  Is this
> possible?

Appearingly you have configured an alternate log file in your /etc/ntp.conf
file, e.g.:

logfile /var/log/ntp.log

If you comment that line out and restart ntpd then all log messages from
ntpd go to the syslog (only).

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany




More information about the questions mailing list