Use syslog for debug logging; Fix #41