You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2012/02/27 12:39:43 UTC

svn commit: r1294116 - in /incubator/syncope/trunk/core: pom.xml src/main/resources/logback.xml src/main/resources/persistenceContextEMFactory.xml

Author: ilgrosso
Date: Mon Feb 27 11:39:42 2012
New Revision: 1294116

URL: http://svn.apache.org/viewvc?rev=1294116&view=rev
Log:
Removing useless dependency log4jdbc, now empowering OpenJPA SQL tracing features

Modified:
    incubator/syncope/trunk/core/pom.xml
    incubator/syncope/trunk/core/src/main/resources/logback.xml
    incubator/syncope/trunk/core/src/main/resources/persistenceContextEMFactory.xml

Modified: incubator/syncope/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/pom.xml?rev=1294116&r1=1294115&r2=1294116&view=diff
==============================================================================
--- incubator/syncope/trunk/core/pom.xml (original)
+++ incubator/syncope/trunk/core/pom.xml Mon Feb 27 11:39:42 2012
@@ -302,18 +302,6 @@ under the License.
             <artifactId>spring-test</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.lazyluke</groupId>
-            <artifactId>log4jdbc-remix</artifactId>
-            <version>0.2.4</version>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.slf4j</groupId>
-                    <artifactId>slf4j-log4j12</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
         <!-- /TEST -->
     </dependencies>
 
@@ -803,7 +791,7 @@ under the License.
                 <dependency>
                     <groupId>postgresql</groupId>
                     <artifactId>postgresql</artifactId>
-                    <version>9.1-901.jdbc4</version>
+                    <version>9.1-901-1.jdbc4</version>
                     <scope>test</scope>
                 </dependency>
             </dependencies>

Modified: incubator/syncope/trunk/core/src/main/resources/logback.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/resources/logback.xml?rev=1294116&r1=1294115&r2=1294116&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/resources/logback.xml (original)
+++ incubator/syncope/trunk/core/src/main/resources/logback.xml Mon Feb 27 11:39:42 2012
@@ -147,33 +147,6 @@ under the License.
         <level value="INFO"/>
         <appender-ref ref="test"/>
     </logger>
-
-    <!-- Log4JDBC -->
-<!--    <logger name="jdbc.sqlonly" additivity="false">
-        <level value="INFO"/>
-        <appender-ref ref="test"/>
-    </logger>
-    <logger name="jdbc.sqltiming" additivity="false">
-        <level value="OFF"/>
-        <appender-ref ref="test"/>
-    </logger>
-    <logger name="jdbc.audit" additivity="false">
-        <level value="OFF"/>
-        <appender-ref ref="test"/>
-    </logger>
-    <logger name="jdbc.resultset" additivity="false">
-        <level value="OFF"/>
-        <appender-ref ref="test"/>
-    </logger>
-    <logger name="jdbc.resultsettable" additivity="false">
-        <level value="OFF"/>
-        <appender-ref ref="test"/>
-    </logger>
-    <logger name="jdbc.connection" additivity="false">
-        <level value="OFF"/>
-        <appender-ref ref="test"/>
-    </logger>-->
-    <!-- /Log4JDBC -->
     
     <root>
         <level value="INFO"/>

Modified: incubator/syncope/trunk/core/src/main/resources/persistenceContextEMFactory.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/resources/persistenceContextEMFactory.xml?rev=1294116&r1=1294115&r2=1294116&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/resources/persistenceContextEMFactory.xml (original)
+++ incubator/syncope/trunk/core/src/main/resources/persistenceContextEMFactory.xml Mon Feb 27 11:39:42 2012
@@ -37,6 +37,8 @@ under the License.
         </property>
         <property name="jpaPropertyMap">
             <map>
+                <!--<entry key="openjpa.Log" value="SQL=TRACE"/>-->
+                
                 <entry key="openjpa.NontransactionalWrite" value="false"/>
                 <entry key="openjpa.AutoDetach" value="close, commit, nontx-read, rollback"/>