From 077bea9a3e582e93c35f699b979d904fc6d51826 Mon Sep 17 00:00:00 2001 From: youbowu Date: Fri, 10 Mar 2017 17:03:25 +0800 Subject: Add log for debugger Issue-ID: HOLMES-50 Change-Id: I8a326f66f14fc107d6d56250dedc26c3e8ad4723 Signed-off-by: youbowu --- .../java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java index c351bbb..25b5ad2 100644 --- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java +++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java @@ -73,6 +73,7 @@ public class EngineWrapper { public boolean checkRuleFromEngine(CorrelationCheckRule4Engine correlationCheckRule4Engine) throws CorrelationException { + log.info("content:" + correlationCheckRule4Engine.getContent()); HttpResponse httpResponse; try { httpResponse = engineService.check(correlationCheckRule4Engine); @@ -88,7 +89,7 @@ public class EngineWrapper { .toString(httpResponse.getEntity())); throw new CorrelationException(I18nProxy.RULE_MANAGEMENT_CHECK_NO_PASS); } catch (IOException e) { - throw new CorrelationException(I18nProxy.RULE_MANAGEMENT_CHECK_NO_PASS); + throw new CorrelationException(I18nProxy.RULE_MANAGEMENT_CHECK_NO_PASS, e); } } } -- cgit 1.2.3-korg