

def _set_logging_handler():
    logger = logging.getLogger()
    error_msgs_queue = Manager().Queue()
    warning_msgs_queue = Manager().Queue()
    handler = utils.ProgressConsoleHandler(error_msgs_queue, warning_msgs_queue, stream=sys.stdout)
    logger.setLevel(logging.INFO)
    logger.addHandler(handler)
    return error_msgs_queue

dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py _set_logging_handler/VarMisuse@71/98 `handler`->`error_msgs_queue`