incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Changing logging level for a debug call.
Date Mon, 17 Mar 2014 14:02:23 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/apache-blur-0.2 e45ea89d7 -> 7a7df8fa7


Changing logging level for a debug call.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/7a7df8fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/7a7df8fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/7a7df8fa

Branch: refs/heads/apache-blur-0.2
Commit: 7a7df8fa7c4a618a1cf429fe875f2cc8c5c784f2
Parents: e45ea89
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Mar 17 10:02:22 2014 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Mar 17 10:02:22 2014 -0400

----------------------------------------------------------------------
 .../org/apache/blur/manager/writer/BlurIndexSimpleWriter.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7a7df8fa/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java
b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java
index 05b2d32..651dd10 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java
@@ -202,7 +202,11 @@ public class BlurIndexSimpleWriter extends BlurIndex {
           indexReader.decRef();
           _closed = true;
         } else {
-          LOG.error("Searcher already closed [{0}].", new Throwable(), this);
+          // Not really sure why some indexes get closed called twice on them.
+          // This is in place to log it.
+          if (LOG.isDebugEnabled()) {
+            LOG.debug("Searcher already closed [{0}].", new Throwable(), this);
+          }
         }
       }
     };


Mime
View raw message