You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2013/08/12 05:03:34 UTC

git commit: Removed SOP and added log.error

Updated Branches:
  refs/heads/master f6d67a2c5 -> 7f1a5ea6d


Removed SOP and added log.error

Signed-off-by: Isuru Perera <is...@apache.org>


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

Branch: refs/heads/master
Commit: 7f1a5ea6d8b2a2d1676629c4495a727e53afde53
Parents: f6d67a2
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Wed Aug 7 12:41:05 2013 +0530
Committer: Isuru Perera <is...@apache.org>
Committed: Mon Aug 12 08:32:48 2013 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/adc/mgt/utils/PersistenceManager.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7f1a5ea6/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/PersistenceManager.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/PersistenceManager.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/PersistenceManager.java
index d7d5b66..cda711c 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/PersistenceManager.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/PersistenceManager.java
@@ -756,8 +756,9 @@ public class PersistenceManager {
 					}
 				}
 			}
-		} else {
-			System.out.println("No such file ezoxists");
+		}
+        else {
+            log.error(String.format("File does not exist: %s", xmlFile.getPath()));
 		}
 		return securityKey;
 	}