Added iteration to some logging.