Add log output when retrying.