code: def __remove_null_logging_handler():
      '''
      This function will run once the temporary logging has been configured. It
      just removes the NullHandler from the logging handlers.
      '''
      global LOGGING_NULL_HANDLER
      if LOGGING_NULL_HANDLER is None:
          # Already removed
          return
  
      root_logger = logging.getLogger()
  
      for handler in root_logger.handlers:
          if handler is LOGGING_NULL_HANDLER:
              root_logger.removeHandler(LOGGING_NULL_HANDLER)
              # Redefine the null handler to None so it can be garbage collected
              LOGGING_NULL_HANDLER = None
              breaf __remove_null_logging_handler():
      '''
      This function will run once the temporary logging has been configured. It
      just removes the NullHandler from the logging handlers.
      '''
      global LOGGING_NULL_HANDLER
      if LOGGING_NULL_HANDLER is None:
          # Already removed
          return
  
      root_logger = logging.getLogger()
  
      for handler in root_logger.handlers:
          if handler is LOGGING_NULL_HANDLER:
              root_logger.removeHandler(LOGGING_NULL_HANDLER)
              # Redefine the null handler to None so it can be garbage collected
              LOGGING_NULL_HANDLER = None
              break
docs: This function will run once the temporary logging has been configured. It
      just removes the NullHandler from the logging handlers.