Some fixes in syslogparser