Small bug fix for --debug syslog