Prevent debug spam

Temporary fix to prevent the spamming of e-mail messages containing debug information.
The Python script will be changed so debug information is logged using syslog.