code: def strip_one_off_handlers():
      global logger
      for child in logging.Logger.manager.loggerDict.values():
          if isinstance(child, logging.Logger):
              for one_off in child.handlers:
                  child.removeHandler(one_off)
              child.setLevel(logger.level)
  
imports: from __future__ import absolute_import, unicode_literals
  import atexit
  import inspect
  import functools
  import logging
  import logging.handlers
  import os
  import re
  import shutil
  import sys
  import time
  import threading
  import traceback
  from contextlib import contextmanager
  from datetime import datetime
  from lore import ansi, env
  from urllib.parse import urlparse
label_desc: Use image node_id 5 for calling a global function with example usage: strip_one_off_handlers() without return types