Repository: incubator-stratos
Updated Branches:
  refs/heads/master cddbff0ec -> 4f3f26533


making a log to debug, since this component is there in most of the stratos 
products


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/073fdcda
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/073fdcda
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/073fdcda

Branch: refs/heads/master
Commit: 073fdcda45659c27e88ba05a89e996f8b95835b2
Parents: ea603b3
Author: Nirmal Fernando <[email protected]>
Authored: Thu Feb 20 18:11:55 2014 +0530
Committer: Nirmal Fernando <[email protected]>
Committed: Thu Feb 20 18:11:55 2014 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/common/util/CommonUtil.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/073fdcda/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/util/CommonUtil.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/util/CommonUtil.java
 
b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/util/CommonUtil.java
index 8adf1e4..bac8f64 100644
--- 
a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/util/CommonUtil.java
+++ 
b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/util/CommonUtil.java
@@ -500,8 +500,10 @@ public class CommonUtil {
                 }
             }
         }
-        log.error("Unable to locate the stratos configurations file. " +
-                  "Default Settings will be used.");
+               if (log.isDebugEnabled()) {
+                       log.debug("Unable to locate the stratos configurations 
file. "
+                                       + "Default Settings will be used.");
+               }
         return config; // return the default configuratiosn, if the file not 
found.
     }
     

Reply via email to