code: def reset_logging():
      """Reset Logging"""
      manager = logging.root.manager
      manager.disabled = logging.NOTSET
      airflow_loggers = [
          logger
          for logger_name, logger in manager.loggerDict.items()
          if logger_name.startswith("airflow")
      ]
      for logger in airflow_loggers:
          if isinstance(logger, logging.Logger):
              logger.setLevel(logging.NOTSET)
              logger.propagate = True
              logger.disabled = False
              logger.filters.clear()
              handlers = logger.handlers.copy()
              for handler in handlers:
                  # Copied from `logging.shutdown`.
                  try:
                      handler.acquire()
                      handler.flush()
                      handler.close()
                  except (OSError, ValueError):
                      pass
                  finally:
                      handler.release()
                  logger.removeHandler(handler)
  
imports: from __future__ import annotations
  import contextlib
  import importlib
  import logging
  import os
  import pathlib
  import sys
  import tempfile
  from unittest.mock import patch
  import pytest
  from airflow.configuration import conf
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 1 for calling a global function with example usage: reset_logging() without return types