From 304e7567a073ba1cd30e7d11a4b94ee8b5ba219d Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Sun, 5 Nov 2017 01:18:27 +0800 Subject: Add Stacktrace for Troubleshooting Change-Id: I3fbf00fb9b1355376a4cfff72bdd30f43096b3af Issue-ID: HOLMES-81 Signed-off-by: Guangrong Fu --- .../java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rulemgt/src/main') diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java index ec6e075..95b28b6 100644 --- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java +++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java @@ -36,7 +36,7 @@ import org.onap.holmes.rulemgt.bean.response.RuleResult4API; @Slf4j public class DcaeConfigurationPolling implements Runnable { - public static long POLLING_PERIOD = 10 * 1000L; + public static long POLLING_PERIOD = 30 * 1000L; private String hostname; @@ -52,7 +52,7 @@ public class DcaeConfigurationPolling implements Runnable { try { dcaeConfigurations = DcaeConfigurationQuery.getDcaeConfigurations(hostname); } catch (CorrelationException e) { - log.error("Failed to fetch DCAE configurations. " + e.getMessage()); + log.error("Failed to fetch DCAE configurations. " + e.getMessage(), e); } if (dcaeConfigurations != null) { RuleQueryListResponse ruleQueryListResponse = getAllCorrelationRules(); -- cgit 1.2.3-korg