Added syslog for input, and stdout output