demo of syslog system call