Added option to switch off logging debug information to syslog.