You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/08/28 05:23:15 UTC

[isis] branch master updated: ISIS-2774: just a comment for debug logging EL

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 85db35f  ISIS-2774: just a comment for debug logging EL
85db35f is described below

commit 85db35fb50924073c88521f30681e2f233624d02
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sat Aug 28 07:23:05 2021 +0200

    ISIS-2774: just a comment for debug logging EL
---
 .../apache/isis/persistence/jpa/eclipselink/config/ElSettings.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/persistence/jpa/eclipselink/src/main/java/org/apache/isis/persistence/jpa/eclipselink/config/ElSettings.java b/persistence/jpa/eclipselink/src/main/java/org/apache/isis/persistence/jpa/eclipselink/config/ElSettings.java
index 9211fb9..96bfa66 100644
--- a/persistence/jpa/eclipselink/src/main/java/org/apache/isis/persistence/jpa/eclipselink/config/ElSettings.java
+++ b/persistence/jpa/eclipselink/src/main/java/org/apache/isis/persistence/jpa/eclipselink/config/ElSettings.java
@@ -28,14 +28,14 @@ import javax.inject.Named;
 import javax.inject.Provider;
 
 import org.eclipse.persistence.config.PersistenceUnitProperties;
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.annotation.Configuration;
 
 import org.apache.isis.applib.annotation.PriorityPrecedence;
 import org.apache.isis.applib.services.inject.ServiceInjector;
 import org.apache.isis.commons.internal.base._Lazy;
 import org.apache.isis.persistence.jpa.eclipselink.inject.BeanManagerForEntityListeners;
-import org.springframework.beans.factory.annotation.Qualifier;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.context.annotation.Configuration;
 
 import lombok.Getter;
 import lombok.Setter;
@@ -72,6 +72,7 @@ public class ElSettings {
 
         // setup defaults
         jpaProps.put(PersistenceUnitProperties.WEAVING, "false");
+        //jpaProps.put(PersistenceUnitProperties.LOGGING_LEVEL, SessionLog.FINER_LABEL); //debug logging
         jpaProps.put(PersistenceUnitProperties.DDL_GENERATION, PersistenceUnitProperties.CREATE_OR_EXTEND);
         jpaProps.put(PersistenceUnitProperties.CDI_BEANMANAGER, new BeanManagerForEntityListeners(serviceInjectorProvider));