From dcdfa17db5f4ced8f4616d4e683bc0050c6144f9 Mon Sep 17 00:00:00 2001 From: shamalka Date: Fri, 9 Sep 2022 23:34:30 +0530 Subject: [PATCH] Remove logs --- .../core/traccar/api/service/addons/TraccarClientImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/api/service/addons/TraccarClientImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/api/service/addons/TraccarClientImpl.java index a1da55c659..90de53d6c8 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/api/service/addons/TraccarClientImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/api/service/addons/TraccarClientImpl.java @@ -404,8 +404,6 @@ public class TraccarClientImpl implements TraccarClient { serverUrl(HttpReportingUtil.trackerServer()))); String result = res.get(); log.info("---------result--------"); - log.info("---------result--------" + res.isDone()); - log.info("---------result-------- " + result); if (result.charAt(0) == '{') { JSONObject obj = new JSONObject(result); if (obj.has("id")) { @@ -584,8 +582,7 @@ public class TraccarClientImpl implements TraccarClient { authorizedKey(HttpReportingUtil.trackerUser(), HttpReportingUtil.trackerPassword()), serverUrl(HttpReportingUtil.trackerServer()))); String result = res.get(); -// log.info(result); -// log.info("---------result--------"); + log.info("---------result--------"); if (res.isDone() && result.charAt(0) == '{') { JSONObject obj = new JSONObject(result); if (obj.has("id")) {