ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [1/2] git commit: ARGUS-112: EclipseLink log level is now set to WARNING. Also "jpa.showsql" is now set to "false" to disable logging of SQL statements.
Date Tue, 14 Oct 2014 08:18:39 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 99c462d2c -> 75950752e


ARGUS-112: EclipseLink log level is now set to WARNING. Also
"jpa.showsql" is now set to "false" to disable logging of SQL
statements.

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

Branch: refs/heads/master
Commit: 9b21e5c9c360949d32ff07f5f2b12f6b8919ab6e
Parents: 09bd79a
Author: mneethiraj <mneethiraj@hortonworks.com>
Authored: Mon Oct 13 16:31:25 2014 -0700
Committer: mneethiraj <mneethiraj@hortonworks.com>
Committed: Mon Oct 13 16:31:25 2014 -0700

----------------------------------------------------------------------
 security-admin/src/main/resources/META-INF/persistence.xml | 8 ++++++++
 security-admin/src/main/resources/xa_system.properties     | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/9b21e5c9/security-admin/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/security-admin/src/main/resources/META-INF/persistence.xml b/security-admin/src/main/resources/META-INF/persistence.xml
index b1e9e53..cd51728 100644
--- a/security-admin/src/main/resources/META-INF/persistence.xml
+++ b/security-admin/src/main/resources/META-INF/persistence.xml
@@ -19,10 +19,18 @@
          <class>com.xasecure.entity.XXPolicyExportAudit</class>
          <class>com.xasecure.entity.XXTrxLog</class>
          <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
+
+		<properties>
+			<property name="eclipselink.logging.level" value="WARNING"/>
+		</properties>
 	</persistence-unit>
 	<persistence-unit name="loggingPU">
         <class>com.xasecure.entity.XXAccessAudit</class>
         <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
+
+		<properties>
+			<property name="eclipselink.logging.level" value="WARNING"/>
+		</properties>
 	</persistence-unit>
 
 </persistence>

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/9b21e5c9/security-admin/src/main/resources/xa_system.properties
----------------------------------------------------------------------
diff --git a/security-admin/src/main/resources/xa_system.properties b/security-admin/src/main/resources/xa_system.properties
index 0995c0b..25b4b4f 100644
--- a/security-admin/src/main/resources/xa_system.properties
+++ b/security-admin/src/main/resources/xa_system.properties
@@ -2,7 +2,7 @@
 xa.webapp.url.root=http://localhost:8080/security-admin-web
 
 #Hibernate/JPA settings
-xa.jpa.showsql=true
+xa.jpa.showsql=false
 xa.env.local=true
 jdbc.dialect=org.eclipse.persistence.platform.database.MySQLPlatform
 # DB Info
@@ -47,4 +47,4 @@ xa.cli.password=admin
 maven.project.version=${project.version}
 
 # File Separator
-xa.file.separator=/
\ No newline at end of file
+xa.file.separator=/


Mime
View raw message