summaryrefslogtreecommitdiffstats
path: root/rulemgt/src/main
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-05 01:18:27 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-05 01:18:27 +0800
commit304e7567a073ba1cd30e7d11a4b94ee8b5ba219d (patch)
tree2ac35fba63d543b0df0eb5282b8ef336053e7bf4 /rulemgt/src/main
parentdc1ca539c703529dbf1e05158d261b530804ef73 (diff)
Add Stacktrace for Troubleshooting
Change-Id: I3fbf00fb9b1355376a4cfff72bdd30f43096b3af Issue-ID: HOLMES-81 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main')
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/dcae/DcaeConfigurationPolling.java4
1 files changed, 2 insertions, 2 deletions
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();