diff --git a/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java b/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java index 01ce831ae8..54a99bce25 100644 --- a/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java +++ b/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java @@ -67,6 +67,7 @@ public boolean forwardFormData(JSONObject formData, String endPointUrl) { try { String response = client.execute(post, new BasicResponseHandler()); LOG.debug("POSTing form data to '{}' succeeded: response: {}", endPointUrl, response); + LOG.info("POSTing form data succeeded through FormHandlerImpl"); return true; } catch (IOException e) { // for all status codes != 2xx an HttpResponseException is thrown (http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/BasicResponseHandler.html) @@ -85,7 +86,7 @@ protected void activate(Config config) { if (socketTimeout < 0) { throw new IllegalArgumentException("Socket timeout value cannot be less than 0"); } - + RequestConfig requestConfig = RequestConfig.custom() .setConnectTimeout(connectionTimeout) .setConnectionRequestTimeout(connectionTimeout)