Fixes #3324: add syslog support