diff --git a/generator/data_cache_file.hpp b/generator/data_cache_file.hpp index f3aadc773c..e922e806e7 100644 --- a/generator/data_cache_file.hpp +++ b/generator/data_cache_file.hpp @@ -71,7 +71,7 @@ namespace cache uint64_t const fileSize = m_file.Size(); if (fileSize == 0) return; - LOG_SHORT(LINFO, ("Reading offsets started in file ", get_name())); + LOG_SHORT(LINFO, ("Offsets reading is started for file ", get_name())); try { @@ -86,7 +86,7 @@ namespace cache sort(m_memory.begin(), m_memory.end(), element_less_t()); - LOG_SHORT(LINFO, ("Reading offsets finished")); + LOG_SHORT(LINFO, ("Offsets reading is finished")); } void write(uint64_t k, TValue const & v) diff --git a/generator/feature_generator.cpp b/generator/feature_generator.cpp index 35fc1d91f3..30d1107867 100644 --- a/generator/feature_generator.cpp +++ b/generator/feature_generator.cpp @@ -221,6 +221,8 @@ class points_in_map public: points_in_map(string const & name) { + LOG(LINFO, ("Nodes reading is started")); + FileReader reader(name); uint64_t const count = reader.Size(); @@ -234,6 +236,8 @@ public: pos += sizeof(ll); } + + LOG(LINFO, ("Nodes reading is finished")); } bool GetPoint(uint64_t id, double & lat, double & lng) const