Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Log level to info for tracking form usage and successfull submission #2714

Merged
merged 3 commits into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
Loading