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

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Aug 23 08:02:16 EDT 2010


Author: tolusha
Date: 2010-08-23 08:02:15 -0400 (Mon, 23 Aug 2010)
New Revision: 2969

Modified:
   jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DocNumberCache.java
Log:
EXOJCR-913: move DocNumberCache.get() logging in debug level

Modified: jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DocNumberCache.java
===================================================================
--- jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DocNumberCache.java	2010-08-23 10:23:16 UTC (rev 2968)
+++ jcr/branches/1.12.x/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DocNumberCache.java	2010-08-23 12:02:15 UTC (rev 2969)
@@ -150,7 +150,7 @@
       {
          entry = (Entry)cacheSegment.get(key);
       }
-      if (log.isInfoEnabled())
+      if (log.isDebugEnabled())
       {
          accesses++;
          if (entry == null)
@@ -177,7 +177,7 @@
             statistics.append(", #hits=").append((accesses - misses));
             statistics.append(", #misses=").append(misses);
             statistics.append(", cacheRatio=").append(ratio).append("%");
-            log.info(statistics.toString());
+            log.debug(statistics.toString());
             accesses = 0;
             misses = 0;
             lastLog = System.currentTimeMillis();



More information about the exo-jcr-commits mailing list