On Tue, Jul 02, 2019 at 07:55:16PM +0900, lameventa...@gmail.com wrote: > Currently it's not possible to make chronyd to only print error messages > to stderr. > > This is because: > > 1. There is no way to specify the minimum desired logging level (ie: > LOGS_ERR) > > 2. All the output goes to stderr, no matter what. So I can't just > redirect stdout to /dev/null. > > Would it be possible to fix this?
I think a new option could be added to specify the maximum severity of messages to be printed/logged. I'm just not sure if it should control also debug messages (like the usual -D option) or if it should be separate. -- Miroslav Lichvar -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.