add syslog method