incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/3] git commit: Changed some info in the logging to debug.
Date Wed, 27 Feb 2013 13:49:57 GMT
Changed some info in the logging to debug.


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

Branch: refs/heads/0.2-dev
Commit: 95581f9c80559765e90e085a0dd144de1837828c
Parents: c81e606
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Feb 27 08:46:43 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Feb 27 08:46:43 2013 -0500

----------------------------------------------------------------------
 .../apache/blur/manager/writer/BlurNRTIndex.java   |    2 +-
 .../blur/manager/writer/TransactionRecorder.java   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/95581f9c/src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
b/src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
index f43d802..5288a4f 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/writer/BlurNRTIndex.java
@@ -242,7 +242,7 @@ public class BlurNRTIndex extends BlurIndex {
       public void run() {
         while (!_isClosed.get()) {
           try {
-            LOG.info("Committing of [{0}/{1}].", tableContext.getTable(), shardContext.getShard());
+            LOG.debug("Committing of [{0}/{1}].", tableContext.getTable(), shardContext.getShard());
             _recorder.commit(_writer);
           } catch (CorruptIndexException e) {
             LOG.error("Curruption Error during commit of [{0}/{1}].", e, tableContext.getTable(),
shardContext.getShard());

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/95581f9c/src/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
b/src/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
index fbfcade..ee47b91 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
@@ -263,7 +263,7 @@ public class TransactionRecorder {
   }
 
   private void rollLog() throws IOException {
-    LOG.info("Rolling WAL path [" + shardContext.getWalShardPath() + "]");
+    LOG.debug("Rolling WAL path [" + shardContext.getWalShardPath() + "]");
     FSDataOutputStream os = outputStream.get();
     if (os != null) {
       os.close();
@@ -284,10 +284,10 @@ public class TransactionRecorder {
       long s = System.nanoTime();
       writer.commit();
       long m = System.nanoTime();
-      LOG.info("Commit took [{0} ms] for [{1}]", (m - s) / 1000000.0, writer);
+      LOG.debug("Commit took [{0} ms] for [{1}]", (m - s) / 1000000.0, writer);
       rollLog();
       long e = System.nanoTime();
-      LOG.info("Log roller took [{0} ms] for [{1}]", (e - m) / 1000000.0, writer);
+      LOG.debug("Log roller took [{0} ms] for [{1}]", (e - m) / 1000000.0, writer);
     }
   }
 


Mime
View raw message