Provide logs to api's syslog
We want to send the logs there (as well as other places), because its where we take it to the graphana logging stuff.
The API has a bit broken syslog, so we do it through some little unusual tricks.
An equivalent code is actually already deployed on API right now, as uncommited local changes. But it still should go through at least minimal review before getting to the master branch.