Where are the ntpd log file located, and how can we configure the ntpd log file path?
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?
Solution 1:
ntpd logs basic messages to syslog, 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.