def undo_logger_setup():
 root_logger.removeHandler(handler)
 for logger in _extra_loggers:
  logger.setLevel(logging.NOTSET)

def undo_logger_setup ( ) : root_logger . removeHandler ( handler ) for logger in _extra_loggers : logger . setLevel ( logging . NOTSET )
undoes the automatic logging setup done by openai gym .