Skip to content

Commit

Permalink
#507 - log in info mode as debug is not logged in hosted environments
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Feb 16, 2023
1 parent 7fa9554 commit b91f053
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public <T> T callAPI(Object requestObject, ParameterizedTypeReference<GlificResp

private <T> T makeCall(String url, HttpEntity<Object> request, ParameterizedTypeReference<GlificResponse<T>> responseType) {
String fullUrl = getSystemConfig().getBaseUrl() + (StringUtils.isEmpty(url) ? "/" : url);
logger.debug("Calling glific - {}", fullUrl);
logger.info("Calling glific - {}", fullUrl);
ResponseEntity<GlificResponse<T>> responseEntity = restTemplate.exchange(fullUrl, HttpMethod.POST, request, responseType);

GlificResponse<T> response = responseEntity.getBody();
Expand Down

0 comments on commit b91f053

Please sign in to comment.