Added code (not yet enabled) to send the log to me for debugging.