def unset_logging(self):
if self.logger_flag is True:<EOL><INDENT>return<EOL><DEDENT>root_logger = logging.getLogger()<EOL>for hndlr in root_logger.handlers:<EOL><INDENT>if hndlr not in self.prior_loghandlers:<EOL><INDENT>hndlr.setLevel(logging.ERROR)<EOL><DEDENT><DEDENT>self.logger_flag = True<EOL>
Mute newly added handlers to the root level, right after calling executor.status