gianm closed pull request #6022: Log the full stack trace when an HTTP request fails URL: https://github.com/apache/incubator-druid/pull/6022
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/server/src/main/java/io/druid/discovery/DruidLeaderClient.java b/server/src/main/java/io/druid/discovery/DruidLeaderClient.java index 0541d6edbba..094d04f527e 100644 --- a/server/src/main/java/io/druid/discovery/DruidLeaderClient.java +++ b/server/src/main/java/io/druid/discovery/DruidLeaderClient.java @@ -159,8 +159,7 @@ public FullResponseHolder go( } catch (IOException | ChannelException ex) { // can happen if the node is stopped. - log.info("Request[%s] failed with msg [%s].", request.getUrl(), ex.getMessage()); - log.debug(ex, "Request[%s] failed.", request.getUrl()); + log.warn(ex, "Request[%s] failed.", request.getUrl()); try { if (request.getUrl().getQuery() == null) { ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@druid.apache.org For additional commands, e-mail: dev-h...@druid.apache.org