code: def patch_python_logging_handlers():
      '''
      Patch the python logging handlers with out mixed-in classes
      '''
      logging.StreamHandler = StreamHandler
      logging.FileHandler = FileHandler
      logging.handlers.SysLogHandler = SysLogHandler
      logging.handlers.WatchedFileHandler = WatchedFileHandler
      logging.handlers.RotatingFileHandler = RotatingFileHandler
      if sys.version_info >= (3, 2):
          logging.handlers.QueueHandler = QueueHandlef patch_python_logging_handlers():
      '''
      Patch the python logging handlers with out mixed-in classes
      '''
      logging.StreamHandler = StreamHandler
      logging.FileHandler = FileHandler
      logging.handlers.SysLogHandler = SysLogHandler
      logging.handlers.WatchedFileHandler = WatchedFileHandler
      logging.handlers.RotatingFileHandler = RotatingFileHandler
      if sys.version_info >= (3, 2):
          logging.handlers.QueueHandler = QueueHandler
docs: Patch the python logging handlers with out mixed-in classes