fixed syslog errors
regenerated lex.c and modified lex.l to add syslog