You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by gi...@apache.org on 2018/07/19 19:05:52 UTC
[incubator-druid] branch master updated: Log the full stack trace
when an HTTP request fails (#6022)
This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 4a2df2b Log the full stack trace when an HTTP request fails (#6022)
4a2df2b is described below
commit 4a2df2b23aba856dc065af18a34362afb736beaf
Author: Jihoon Son <ji...@apache.org>
AuthorDate: Thu Jul 19 12:05:46 2018 -0700
Log the full stack trace when an HTTP request fails (#6022)
---
server/src/main/java/io/druid/discovery/DruidLeaderClient.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/src/main/java/io/druid/discovery/DruidLeaderClient.java b/server/src/main/java/io/druid/discovery/DruidLeaderClient.java
index 0541d6e..094d04f 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 class DruidLeaderClient
}
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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org