You really shouldn’t be using a foreground runner, rather do it like how I detail at:
As for logging to the system syslog, you should add in a syslog logger as it will give you substantially better control and won’t just be plain string munging output: