write logs in the syslog format (rfc5424)