()
Clear and close existing handlers
Clear and close existing handlers
Clear and close existing handlers
def _clearExistingHandlers():
    """Clear and close existing handlers"""
    logging._handlers.clear()
    logging.shutdown(logging._handlerList[:])
    del logging._handlerList[:]
def _clearExistingHandlers ( ) : logging . _handlers . clear ( ) logging . shutdown ( logging . _handlerList [ : ] ) del logging . _handlerList [ : ]