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-59
Date Tue, 23 Sep 2014 23:21:25 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master e1a66e582 -> 105e71e94


Argus-59

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

Branch: refs/heads/master
Commit: cdb53604dd3fa175ef3c8db71848f97877532a72
Parents: cfec85a
Author: rmani <rmani@hortonworks.com>
Authored: Tue Sep 23 16:02:08 2014 -0700
Committer: rmani <rmani@hortonworks.com>
Committed: Tue Sep 23 16:02:08 2014 -0700

----------------------------------------------------------------------
 .../main/java/com/xasecure/audit/provider/Log4jAuditProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/cdb53604/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jAuditProvider.java
----------------------------------------------------------------------
diff --git a/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jAuditProvider.java
b/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jAuditProvider.java
index 2235ac5..cfc3c51 100644
--- a/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jAuditProvider.java
+++ b/agents-audit/src/main/java/com/xasecure/audit/provider/Log4jAuditProvider.java
@@ -40,7 +40,7 @@ public class Log4jAuditProvider implements AuditProvider {
 	public void log(AuditEventBase event) {
 		if(! AUDITLOG.isInfoEnabled())
 			return;
-		Gson gson= new GsonBuilder().setPrettyPrinting().create();
+		Gson gson= new GsonBuilder().create();
 		String eventAsJson = gson.toJson(event.toString()) ;
 		AUDITLOG.info(eventAsJson);
 	}


Mime
View raw message