Linux – the ntpd log file located, and how can we configure the ntpd log file path

linuxloggingntpd

I deal with that, ntpd as a daemon on my linux server by default configuring, but where should we look up the log file? Is there any log file normal, and if not , how can we configure that?

Best Answer

ntpd logs basic messages to syslog by default, so where those logs go is dependent on your syslog configuration, but /var/log/messages and /var/log/syslog or common places to look.

ntpd can also generate statistics if statsdir is defined in /etc/ntp.conf and you have some filegen definitions. Here is the documentation for statsdir and filegen.