Added syslogging.

Also removed unnecessary console output.