openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r958018 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java openjpa-project/src/doc/manual/ref_guide_logging.xml
Date Fri, 25 Jun 2010 16:13:53 GMT
Author: allee8285
Date: Fri Jun 25 16:13:53 2010
New Revision: 958018

URL: http://svn.apache.org/viewvc?rev=958018&view=rev
Log:
OPENJPA-1708 - Change a message logging from info to trace and correct supported log levels
in manual.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java
    openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java?rev=958018&r1=958017&r2=958018&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PessimisticLockManager.java
Fri Jun 25 16:13:53 2010
@@ -28,7 +28,6 @@ import java.util.List;
 import org.apache.openjpa.jdbc.meta.ClassMapping;
 import org.apache.openjpa.jdbc.sql.DBDictionary;
 import org.apache.openjpa.jdbc.sql.SQLBuffer;
-import org.apache.openjpa.jdbc.sql.SQLExceptions;
 import org.apache.openjpa.jdbc.sql.SQLFactory;
 import org.apache.openjpa.jdbc.sql.Select;
 import org.apache.openjpa.kernel.MixedLockLevels;
@@ -36,7 +35,6 @@ import org.apache.openjpa.kernel.OpenJPA
 import org.apache.openjpa.kernel.StoreContext;
 import org.apache.openjpa.kernel.VersionLockManager;
 import org.apache.openjpa.lib.util.Localizer;
-import org.apache.openjpa.util.Exceptions;
 import org.apache.openjpa.util.LockException;
 import org.apache.openjpa.util.StoreException;
 
@@ -175,8 +173,8 @@ public class PessimisticLockManager
     private void ensureStoreManagerTransaction() {
         if (!_store.getContext().isStoreActive()) {
             _store.getContext().beginStore();
-            if (log.isInfoEnabled())
-                log.info(_loc.get("start-trans-for-lock"));
+            if (log.isTraceEnabled())
+                log.trace(_loc.get("start-trans-for-lock"));
         }
     }
     

Modified: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml?rev=958018&r1=958017&r2=958018&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml Fri Jun 25 16:13:53
2010
@@ -294,8 +294,8 @@ error.
             <listitem>
                 <para>
 <literal>DefaultLevel</literal>: The default logging level of unconfigured
-channels. Recognized values are <literal> TRACE, DEBUG, INFO, WARN,</literal>
-and <literal>ERROR</literal>. Defaults to <literal>INFO</literal>.
+channels. Recognized values are <literal>TRACE, INFO, WARN, ERROR </literal>

+and <literal>FATAL</literal>. Defaults to <literal>INFO</literal>.
                 </para>
             </listitem>
             <listitem>



Mime
View raw message