Adding more logging to retries