From c6a25475b0396d66d55e94fd1ea788b6a8f45620 Mon Sep 17 00:00:00 2001 From: Dulitha Wijewantha Date: Tue, 27 Jan 2015 12:32:06 +0530 Subject: [PATCH] Removed unnecessary logs --- .../src/repository/jaggeryapps/cdm/api/mobile/device-api.jag | 1 - .../repository/jaggeryapps/cdm/api/mobile/operation-api.jag | 4 ---- .../distribution/src/repository/jaggeryapps/cdm/init.js | 1 - 3 files changed, 6 deletions(-) diff --git a/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/device-api.jag b/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/device-api.jag index 298a62d76..3a52f87bd 100644 --- a/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/device-api.jag +++ b/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/device-api.jag @@ -25,7 +25,6 @@ var deviceModule = require("/modules/device.js"); if (uri != null) { var uriMatcher = new URIMatcher(callPath); - log.info(callPath); if (uriMatcher.match("devices/mobile/{type}/{deviceid}/")) { var deviceId = uriMatcher.elements().deviceid; var type = uriMatcher.elements().type; diff --git a/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/operation-api.jag b/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/operation-api.jag index b11875d1e..dcb72476a 100644 --- a/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/operation-api.jag +++ b/product/modules/distribution/src/repository/jaggeryapps/cdm/api/mobile/operation-api.jag @@ -25,16 +25,12 @@ var deviceModule = require("/modules/device.js"); if (uri != null) { var uriMatcher = new URIMatcher(callPath); - //log.info(callPath); - log.info(uriMatcher.match("operation/{type}/{deviceid}/{operation}")); if (uriMatcher.match("operation/{type}/{deviceid}/{operation}")) { var deviceId = uriMatcher.elements().deviceid; var type = uriMatcher.elements().type; var operation = uriMatcher.elements().operation; var result = deviceModule.performOperation(deviceId, operation,[],type); - - } } %> \ No newline at end of file diff --git a/product/modules/distribution/src/repository/jaggeryapps/cdm/init.js b/product/modules/distribution/src/repository/jaggeryapps/cdm/init.js index 859dd1037..e712ad73b 100644 --- a/product/modules/distribution/src/repository/jaggeryapps/cdm/init.js +++ b/product/modules/distribution/src/repository/jaggeryapps/cdm/init.js @@ -17,7 +17,6 @@ */ //Init js to execute var logger = new Log(); -logger.debug("running debug"); var app_TENANT_CONFIGS = 'tenant.configs'; var app_carbon = require('carbon'); var app_configs = {