22

I didn't find any ntpd log file in /var/log. I am wondering where can I find those log files, thanks!

David Liu
  • 323

3 Answers3

14

This may tell you if/where ntp activity is being logged:

grep log /etc/ntp.conf

You can also try:

ps auxww | grep '[n]tp'
12

NTP doesn't normally generate many log messages nor have its own log file. Log messages on my system are found in /var/log/daemon.log.

Statistics are found in the statistics dir (/var/log/ntpstats on my system). Presence of statistics files are controlled by the filegen options in your ntp.conf file.

BillThor
  • 28,293
  • 3
  • 39
  • 70
3

You should see them in /var/log/messages or wherever your syslog messages are going.

carson
  • 1,630