def log_and_report(self, outfd, b_status, error_text):
        """
        Send result result description message back to swift middleware

        :param outfd : Output channel to send the message to
        :param b_status : Flag, whether the operation was successful
        :param error_text: The result description
        """
        answer = str(b_status) + ': ' + error_text
        self.logger.debug(' Just processed command')
        self.logger.debug(' Going to answer: %s' % answer)
        try:
            outfd.write(answer)
            self.logger.debug(" ... and still alive")
        except Exception:
            self.logger.debug('Problem while writing response %s' % answer)
dataset/ETHPy150Open openstack/storlets/Engine/storlet_daemon_factory/daemon_factory.py/daemon_factory.log_and_report/original