How to I disable and re-enable console logging in Python?,logging.critical('This is a critical error message')