Logging of retries