summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-03-12 00:14:20 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-03-12 00:14:20 +0800
commit53e06b77ed962367adb46bf79ed6d5d191fec3cf (patch)
treea3c6251d56b7023c0c21cffc3f99118244d612a9 /rulemgt
parentd9052a7491e6f8f0474bac6e717a9afc691f30e7 (diff)
Add Logs for Result Checking
Change-Id: Ib269da8460b6fd8fdf1845d1e7ba1521a7863ace Issue-ID: HOLMES-50 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineService.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineService.java
index 382b570..3f0e661 100644
--- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineService.java
+++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineService.java
@@ -120,6 +120,8 @@ public class EngineService {
}
public byte[] getData(HttpEntity httpEntity) throws IOException {
+ log.info("Rule deployed. Package name: " + httpEntity.getContent().toString()
+ + ". Content length: " + httpEntity.getContentLength());
BufferedHttpEntity bufferedHttpEntity = new BufferedHttpEntity(httpEntity);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
bufferedHttpEntity.writeTo(byteArrayOutputStream);