fixing parsing of syslog lines