[exo-jcr-commits] exo-jcr SVN: r4485 - jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jun 8 02:59:36 EDT 2011


Author: paristote
Date: 2011-06-08 02:59:34 -0400 (Wed, 08 Jun 2011)
New Revision: 4485

Modified:
   jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
Log:
JCR-1631 log error messages in ERROR more rather than DEBUG

Modified: jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
===================================================================
--- jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java	2011-06-07 18:31:03 UTC (rev 4484)
+++ jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java	2011-06-08 06:59:34 UTC (rev 4485)
@@ -208,9 +208,9 @@
       catch (TransactionException e)
       {
          commitException = e;
-         if (LOG.isDebugEnabled())
+         if (LOG.isErrorEnabled())
          {
-            LOG.debug("Commit Error. Xid:" + xid + ", session: " + getSessionInfo() + ", " + this, e);
+            LOG.error("Commit Error. Xid:" + xid + ", session: " + getSessionInfo() + ", " + this, e);
          }
 
          throw new XASessionException(e.toString(), e.getErrorCode());



More information about the exo-jcr-commits mailing list