aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-06-11 15:23:14 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-06-11 15:23:24 +0800
commita79e8f8dc0ac86c44d58ca0640b70ae68dc6002e (patch)
tree6d9c135c82c13f839913711d9b28771805b795fa
parent523be3f632b29e0faf9f9fce4e5dc0aad0a36946 (diff)
delete debug log output for alarm subscription
Change-Id: Ie01f2c1869ffcbd47915079cf34888975d25da82 Issue-ID: USECASEUI-128 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java b/server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java
index 9b64ab6c..3ecaee28 100644
--- a/server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java
+++ b/server/src/main/java/org/onap/usecaseui/server/util/DmaapSubscriber.java
@@ -18,10 +18,8 @@ package org.onap.usecaseui.server.util;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Timestamp;
-import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
-import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Properties;
@@ -77,7 +75,6 @@ public class DmaapSubscriber implements Runnable {
public void subscribe(String topic) {
try {
List<String> respList = getDMaaPData(topic);
- logger.info("response content is :"+respList);
if (!UuiCommonUtil.isNotNullOrEmpty(respList)) {
return;
}
@@ -93,9 +90,9 @@ public class DmaapSubscriber implements Runnable {
}
} catch (IOException e) {
e.printStackTrace();
- logger.error(rl);
logger.error("exception occurred while performing DmaapSubcriber performanceProcess or alarmProcess. Details:"+ e.getMessage());
-
+ logger.error("exception from content:"+rl);
+ logger.error("response content is :"+respList);
}
});