diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/APIUtil.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/APIUtil.java index 81c2c209d578..d9e3f96318a7 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/APIUtil.java +++ b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/APIUtil.java @@ -505,6 +505,8 @@ public static CloseableHttpResponse executeHTTPRequestWithRetries(HttpRequestBas throw new DataLoadingException("Error while retrieving " + path + ". Received response with status code " + httpResponse.getStatusLine().getStatusCode()); + } else if (retryCount > 0) { + log.info("Successfully retrieved " + path); } retry = false; } catch (IOException | DataLoadingException ex) {