def __remove_queue_logging_handler():
 global LOGGING_STORE_HANDLER
 if (LOGGING_STORE_HANDLER is None):
  return
 root_logger = logging.getLogger()
 for handler in root_logger.handlers:
  if (handler is LOGGING_STORE_HANDLER):
   root_logger.removeHandler(LOGGING_STORE_HANDLER)
   LOGGING_STORE_HANDLER = None
   break

def __remove_queue_logging_handler ( ) : global LOGGING_STORE_HANDLER if ( LOGGING_STORE_HANDLER is None ) : return root_logger = logging . getLogger ( ) for handler in root_logger . handlers : if ( handler is LOGGING_STORE_HANDLER ) : root_logger . removeHandler ( LOGGING_STORE_HANDLER ) LOGGING_STORE_HANDLER = None break
this function will run once the additional loggers have been synchronized .