From 65b6efc307b873ab7291a0308a23c0d84a81f695 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Wed, 5 Sep 2012 11:06:42 +0000 Subject: [PATCH] + more debug informtion in the indexer --- src/common/kiwix/indexer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/kiwix/indexer.cpp b/src/common/kiwix/indexer.cpp index eb5a1bf49..0b565f3ed 100644 --- a/src/common/kiwix/indexer.cpp +++ b/src/common/kiwix/indexer.cpp @@ -85,6 +85,10 @@ namespace kiwix { zim::Article currentArticle; while (currentOffset < lastOffset) { + if (this->getVerboseFlag()) { + std::cout << "Extracting article with offset: " << currentOffset << std::endl; + } + currentArticle = zimHandler->getArticle(currentOffset); if (!currentArticle.isRedirect()) {