turn debug logging for transmitting middle data