From cc18fb9285224dd95408d7cbec0009376a7ec072 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Mon, 27 Jul 2015 17:37:26 +0530 Subject: [PATCH] removing unneccessary logs --- .../src/repository/jaggeryapps/iotserver/modules/policy.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/policy.js b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/policy.js index 949455a1..8e478856 100755 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/policy.js +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/policy.js @@ -82,17 +82,12 @@ policyModule = function () { //loop through all device types for (var i = 0; i < allPolicies.content.length; i++) { - log.info("Policies for device types: " + allPolicies.content); - log.info(""); var deviceType = allPolicies.content[i].replace(constants.POLICY_REGISTRY_PATH, ""); - log.info("##### deviceType:" + deviceType); var deviceTypePolicies = registry.get(allPolicies.content[i]); //loop through policies for (var j = 0; j < deviceTypePolicies.content.length; j++) { - log.info("Policies:" + deviceTypePolicies.content); var deviceTypePolicy = registry.get(deviceTypePolicies.content[j]); - log.info(deviceTypePolicy); var policyObj = { "id": deviceTypePolicy.uuid, // Identifier of the policy. //"priorityId": 1, // Priority of the policies. This will be used only for simple evaluation. @@ -116,9 +111,7 @@ policyModule = function () { }; policies.push(policyObj); - log.info(""); }//end of policy loop - log.info(""); }//end of device type policy loop } }