From 42638a6fc98276e42ffd4c780c763eeea6450946 Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Sun, 27 Feb 2011 14:37:46 +0100 Subject: [PATCH] Better logging in kml_parser.cpp --- indexer/indexer_tool/kml_parser.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/indexer/indexer_tool/kml_parser.cpp b/indexer/indexer_tool/kml_parser.cpp index 4e6fd86a27..b4c92bd868 100644 --- a/indexer/indexer_tool/kml_parser.cpp +++ b/indexer/indexer_tool/kml_parser.cpp @@ -225,9 +225,7 @@ namespace kml { FileReader file(kmlFile); ReaderSource source(file); - LOG(LINFO, ("Parsing XML")); bool const bRes = ParseXML(source, parser, true); - LOG(LINFO, (bRes)); return bRes; } catch (std::exception const &) @@ -279,7 +277,7 @@ namespace kml countries.Clear(); ifstream stream((baseDir + POLYGONS_FILE).c_str()); string line; - + LOG(LINFO, ("Loading countries.")); while (stream.good()) { std::getline(stream, line); @@ -294,7 +292,7 @@ namespace kml if (!country.m_regions.IsEmpty()) countries.Add(country, rect); } - + LOG(LINFO, ("Countries loaded:", countries.GetSize())); return !countries.IsEmpty(); } }