diff options
author | youbowu <wu.youbo@zte.com.cn> | 2017-03-10 17:03:25 +0800 |
---|---|---|
committer | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-10 17:06:51 +0800 |
commit | 077bea9a3e582e93c35f699b979d904fc6d51826 (patch) | |
tree | 6c6bd8f1a5d30b66a6685e17143150bb45fd1c94 /rulemgt/src/main | |
parent | 24ec6985c095120a9f0db7bdfbaed25b74c4b57c (diff) |
Add log for debugger
Issue-ID: HOLMES-50
Change-Id: I8a326f66f14fc107d6d56250dedc26c3e8ad4723
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main')
-rw-r--r-- | rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java | 3 |
1 files changed, 2 insertions, 1 deletions
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);
}
}
}
|