Changed logger to use the syslog facility, on fail fallsback to stdout