add syslog handler and test