Add Logs for the Response
authorGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 13 Mar 2017 03:01:55 +0000 (11:01 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 13 Mar 2017 03:01:55 +0000 (11:01 +0800)
Change-Id: I433c3e74289175cb94bc87417fa4357047486d36
Issue-ID: HOLMES-50
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java

index 79c5c88..a65d88b 100644 (file)
@@ -46,6 +46,7 @@ public class EngineWrapper {
             log.info("Call deploy rule rest interface in engine successfully.");\r
             String content = engineService.getResponseContent(httpResponse);\r
             try {\r
+                log.info("Deploy result from the engine is: " + content + ".");\r
                 JSONObject json = JSONObject.fromObject(content);\r
                 return json.get(RuleMgtConstant.PACKAGE).toString();\r
             } catch (Exception e) {\r