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
[email protected]




--
To unsubscribe email [email protected]
with "unsubscribe" in the subject.
For help email [email protected]
with "help" in the subject.
Trouble?  Email [email protected].

Reply via email to