add logging on kafka reading

This commit is contained in:
Chris Lu committed 2018-09-19 22:31:45 -07:00
1 parent d9b32db8d7
commit d5149e592e
2 files changed
+7

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ func runFilerReplicate(cmd *Command, args []string) bool {
glog.Errorf("receive %s: %+v", key, err)
continue
}
glog.V(1).Infof("processing file: %s", key)
if err = replicator.Replicate(key, m); err != nil {
glog.Errorf("replicate %s: %+v", key, err)
}