From 20bb1af6558c0c6ec4739a1df30a8df408e73ceb Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Fri, 27 Mar 2015 10:11:38 -0600 Subject: [PATCH] added debug logging to hystrix dashboard proxy servlet --- .../hystrix/dashboard/HystrixDashboardConfiguration.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java b/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java index 4a169e88..b190e948 100644 --- a/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java +++ b/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java @@ -187,6 +187,10 @@ public class HystrixDashboardConfiguration { } } } + else { + log.debug("Failed opening connection to " + proxyUrl + " : " + + statusCode + " : " + httpResponse.getStatusLine()); + } } catch (Exception ex) { log.error("Error proxying request: " + url, ex);