[Lada-commits] [PATCH] Do not trace SQL statements to lada-server.log

Wald Commits scm-commit at wald.intevation.org
Fri Nov 20 11:31:37 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1448015459 -3600
# Node ID 8249a76a1f6d7132c8f90e25c178f17f336ab24c
# Parent  183396bac3face6c3385079a86ec0f5dc6d92b07
Do not trace SQL statements to lada-server.log.

diff -r 183396bac3fa -r 8249a76a1f6d src/main/resources/META-INF/persistence.xml
--- a/src/main/resources/META-INF/persistence.xml	Thu Nov 19 16:55:32 2015 +0100
+++ b/src/main/resources/META-INF/persistence.xml	Fri Nov 20 11:30:59 2015 +0100
@@ -26,7 +26,7 @@
             <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/>
             <!-- Properties for Hibernate -->
             <property name="hibernate.hbm2ddl.auto" value="none"/>
-            <property name="hibernate.show_sql" value="true" />
+            <property name="hibernate.show_sql" value="false" />
             <!-- Use a special PostGIS dialect implmented for Lada. This dialect implements an additional integer array type -->
 			<property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/>
        </properties>
@@ -38,7 +38,7 @@
         	<!-- The JNDI name for lookups in the application -->
             <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/>
             <!-- Properties for Hibernate -->
-            <property name="hibernate.show_sql" value="true" />
+            <property name="hibernate.show_sql" value="false" />
             <property name="hibernate.hbm2ddl.auto" value="none"/>
 			<property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
         </properties>


More information about the Lada-commits mailing list