fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vorbur...@apache.org
Subject [fineract] branch develop updated: FINERACT-1200: Route OpenJPA logging to slf4j
Date Sun, 11 Oct 2020 21:15:56 GMT
This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 490ad43  FINERACT-1200: Route OpenJPA logging to slf4j
490ad43 is described below

commit 490ad438a5d2fceb47037f14e65cf9dc49d8e752
Author: Petri Tuomola <petri@tuomola.org>
AuthorDate: Sun Oct 11 22:53:57 2020 +0300

    FINERACT-1200: Route OpenJPA logging to slf4j
---
 .../src/main/resources/META-INF/persistence.xml            | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/fineract-provider/src/main/resources/META-INF/persistence.xml b/fineract-provider/src/main/resources/META-INF/persistence.xml
index 61b9c08..2e6a10c 100644
--- a/fineract-provider/src/main/resources/META-INF/persistence.xml
+++ b/fineract-provider/src/main/resources/META-INF/persistence.xml
@@ -27,12 +27,12 @@
 
     <persistence-unit name="jpa-pu" transaction-type="RESOURCE_LOCAL">
         <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
-    <properties>
-        <property name="openjpa.Compatibility" value="QuotedNumbersInQueries=true"/>
-        <property name="openjpa.jdbc.DBDictionary" value="org.apache.fineract.infrastructure.core.domain.MySQLDictionaryCustom"/>
-        <!--<property name="openjpa.InverseManager" value="true(Action=warn)"/>
-->
-      <!-- <property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO, Tool=INFO,
SQL=TRACE"/>-->
-       <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=CASCADE"/>
-    </properties>
+        <properties>
+            <property name="openjpa.Compatibility" value="QuotedNumbersInQueries=true"/>
+            <property name="openjpa.jdbc.DBDictionary" value="org.apache.fineract.infrastructure.core.domain.MySQLDictionaryCustom"/>
+            <!--<property name="openjpa.InverseManager" value="true(Action=warn)"/>
-->
+            <property name="openjpa.Log" value="slf4j"/>
+            <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=CASCADE"/>
+        </properties>
     </persistence-unit>
 </persistence>


Mime
View raw message