Refactor error reporting to send it to syslog as option
This is required for wider deployment. I know that on OpenWrt there is procd that can forward stdout
and stderr
to syslog and that Systemd does the same but those are not only init systems and something that is intended to run as service should be able to send output to syslog (not talking about advantages such as level propagation).