From f59202c0c32a0b7ec39efd4b6aed5dff3a6a6a7b Mon Sep 17 00:00:00 2001 From: sinthuja Date: Tue, 20 Jun 2017 13:46:39 +0530 Subject: [PATCH] Reverting back to the debug logs. --- .../mgt/core/search/mgt/impl/QueryBuilderImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/search/mgt/impl/QueryBuilderImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/search/mgt/impl/QueryBuilderImpl.java index 04d52bf514..d5d0b1700a 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/search/mgt/impl/QueryBuilderImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/search/mgt/impl/QueryBuilderImpl.java @@ -113,12 +113,12 @@ public class QueryBuilderImpl implements QueryBuilder { queries.put(Constants.LOCATION, this.processLocation(locCondition)); } -// if (log.isDebugEnabled()) { - log.info("General Query : " + queries.get(Constants.GENERAL)); - log.info("Property with AND Query : " + queries.get(Constants.PROP_AND)); - log.info("Property with OR Query : " + queries.get(Constants.PROP_OR)); - log.info("Location related Query : " + queries.get(Constants.LOCATION)); -// } + if (log.isDebugEnabled()) { + log.debug("General Query : " + queries.get(Constants.GENERAL)); + log.debug("Property with AND Query : " + queries.get(Constants.PROP_AND)); + log.debug("Property with OR Query : " + queries.get(Constants.PROP_OR)); + log.debug("Location related Query : " + queries.get(Constants.LOCATION)); + } return queries; }