diff --git a/smf/ntp/etc/logadm.d/chrony.logadm.conf b/smf/ntp/etc/logadm.d/chrony.logadm.conf index a477d19bf5..fc335d658a 100644 --- a/smf/ntp/etc/logadm.d/chrony.logadm.conf +++ b/smf/ntp/etc/logadm.d/chrony.logadm.conf @@ -1,4 +1,2 @@ -# Rotate chrony logs daily and keep at most 8 old files. -# This is daily by virtue of the `logadm` entry in root's crontab only running -# once a day; the thresholds specified here are >= 1 byte, and now. -chrony_logs /var/log/chrony/*.log -C 8 -z 3 -p now -s 1b -c -t '$file.$secs' +# Rotate chrony logs at 10MiB and keep 10 compressed old logs. +chrony_logs /var/log/chrony/*.log -C 10 -z 0 -s 10m -c -t '$file.$secs'