def __recv_log_set_exc_and_wait(self, msg, level=None, wait_seconds=CONN_RETRY_DELAY_SECONDS):
        """Equivalent to __send_log_set_exc_and_wait but for receiver thread"""
        logger.log(
            ((logging.DEBUG if self.__recv_exc else logging.ERROR) if level is None else level),
            msg,
            exc_info=DEBUG_ENABLED
        )
        self.__recv_exc = exc_info()[1]
        self.__end.wait(wait_seconds)