logger: fix syslog output formatting