i am trying to gather statistics from the chrony daemon on my EC 2 (Ubuntu 18.04.2 LTS) instance. i have followed aws's guide on how to set it up and it runs as expected.
i need to compare the time sync difference between aws and another service provider we use, that is why i enabled logging on chrony.
but it doesn't log anything in the /var/log/chrony
folder
this is my configuration:
server 169.254.169.123 prefer iburst
pool ntp.ubuntu.com iburst maxsources 4
pool 0.ubuntu.pool.ntp.org iburst maxsources 1
pool 1.ubuntu.pool.ntp.org iburst maxsources 1
pool 2.ubuntu.pool.ntp.org iburst maxsources 2
# This directive specify the location of the file containing ID/key pairs for
# NTP authentication.
keyfile /etc/chrony/chrony.keys
# This directive specify the file into which chronyd will store the rate
# information.
driftfile /var/lib/chrony/chrony.drift
# Uncomment the following line to turn logging on.
log tracking measurements statistics
# Log files location.
logdir /var/log/chrony
# Stop bad estimates upsetting machine clock.
maxupdateskew 100.0
# This directive enables kernel synchronisation (every 11 minutes) of the
# real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
rtcsync
# Step the system clock instead of slewing it if the adjustment is larger than
# one second, but only in the first three clock updates.
makestep 1 3
i have checked permissions on the folder and everything, but there are no log files.
hope you guys can help me with that