ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject [1/2] git commit: Argus-100
Date Mon, 06 Oct 2014 06:54:26 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 7a9ee4d12 -> 32dbf7173


Argus-100

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

Branch: refs/heads/master
Commit: cc386acec9f1ff0cf9cf4b2ff589b1b053927cb2
Parents: 01fb970
Author: rmani <rmani@hortonworks.com>
Authored: Sun Oct 5 23:53:29 2014 -0700
Committer: rmani <rmani@hortonworks.com>
Committed: Sun Oct 5 23:53:29 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/com/xasecure/pdp/config/PolicyRefresher.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/cc386ace/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyRefresher.java
----------------------------------------------------------------------
diff --git a/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyRefresher.java b/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyRefresher.java
index 60b0074..9115ab3 100644
--- a/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyRefresher.java
+++ b/agents-impl/src/main/java/com/xasecure/pdp/config/PolicyRefresher.java
@@ -188,7 +188,7 @@ public class PolicyRefresher  {
 				writer.println(policyAsJson) ;
 			}
 			catch(IOException ioe) {
-				LOG.error("Unable to save policy into file: [" + saveFile.getAbsolutePath() + "]", ioe);
+				LOG.warn("Unable to save policy into file: [" + saveFile.getAbsolutePath() + "]");
 			}
 			finally {
 				if (writer != null) {
@@ -221,7 +221,7 @@ public class PolicyRefresher  {
 				
 			}
 			catch(IOException ioe){
-				LOG.error("Unable to save the policy into Last Stored Policy File [" + lastSaveFile.getAbsolutePath()
+ "]", ioe );
+				LOG.warn("Unable to save the policy into Last Stored Policy File [" + lastSaveFile.getAbsolutePath()
+ "]");
 			}
 		    finally {
 		    	 //make the policy file cache to be 600 permission when it gets created and updated


Mime
View raw message