kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject [23/28] git commit: KAFKA-720 Migration tool halts silently; reviewed by Neha Narkhede
Date Sat, 26 Jan 2013 06:04:36 GMT
KAFKA-720 Migration tool halts silently; reviewed by Neha Narkhede


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/a15f1f2d
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/a15f1f2d
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/a15f1f2d

Branch: refs/heads/trunk
Commit: a15f1f2d84d133a3e01b2c7fe88cbed033ee7bac
Parents: 8e7effc
Author: Neha Narkhede <neha.narkhede@gmail.com>
Authored: Thu Jan 24 10:47:17 2013 -0800
Committer: Neha Narkhede <neha.narkhede@gmail.com>
Committed: Thu Jan 24 10:47:17 2013 -0800

----------------------------------------------------------------------
 .../main/scala/kafka/tools/KafkaMigrationTool.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/a15f1f2d/core/src/main/scala/kafka/tools/KafkaMigrationTool.java
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/tools/KafkaMigrationTool.java b/core/src/main/scala/kafka/tools/KafkaMigrationTool.java
index 1f5c7ba..dbbddae 100644
--- a/core/src/main/scala/kafka/tools/KafkaMigrationTool.java
+++ b/core/src/main/scala/kafka/tools/KafkaMigrationTool.java
@@ -290,7 +290,7 @@ public class KafkaMigrationTool
         }
         logger.info(String.format("Migration thread %s finishes running", threadName));
       } catch (Throwable t){
-        System.out.println("Migration thread failure due to " + t);
+        logger.fatal("Migration thread failure due to ", t);
         t.printStackTrace(System.out);
       }
     }


Mime
View raw message