def stop_daemonlog(self):

        logger = logging.getLogger('chalmers')
        logger.removeHandler(self._daemonlog_hdlr)
        try:
            self._log_stream.close()
        except __HOLE__:
            # Ignore:
            # close() called during concurrent operation on the same file object.
            pass
dataset/ETHPy150Open Anaconda-Platform/chalmers/chalmers/program/base.py/ProgramBase.stop_daemonlog