Update trying to improve logging.