Close debug logging.