I am targeting macOS which now has a horrendously complex logging system. 
Syslog messages are recorded but quite difficult to extract from the Apple 
universal logging. Not something I would willingly inflict on end users. I want 
to place the messages in a text file that can be easily monitored from either 
the commandline or programmatically.

I see I can use the '-l file' option of chronyd to log the messages to a file, 
but I have a few questions.

1. Does the location of 'file' use the LogDir directory by default? If not, is 
there any problem in using that directory? My preferred location for the file 
would be in /var/log/chrony directory with a title of chronyd.log.

2. Can the log be rotated (i.e. closed then renamed) without restarting 
chronyd? This facility is available via chronyc for the measurement, tracking 
etc logs but I think that probably doesn't apply to syslog files. Would be 
really nice if it did.

Thanks in advance for any suggestions.

Bryan

-- 
Bryan Christianson
br...@whatroute.net




--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-requ...@chrony.tuxfamily.org
with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to