Skip to content

Commit

Permalink
Changing Log level to info for tracking form usage and successfull su…
Browse files Browse the repository at this point in the history
…bmission
  • Loading branch information
Subodh Jha committed Apr 8, 2024
1 parent c105551 commit 6d859bf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public boolean forwardFormData(JSONObject formData, String endPointUrl) {
CHARSET)));
try {
String response = client.execute(post, new BasicResponseHandler());
LOG.info("POSTing form data to '{}' succeeded: response: {}", endPointUrl, response);
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)
Expand Down

0 comments on commit 6d859bf

Please sign in to comment.