Minor logging output.

This commit is contained in:
Yury Melnichek 2011-02-27 14:25:03 +01:00 committed by Alex Zolotarev
parent 713e32a1d2
commit a3d3b71d4d
2 changed files with 6 additions and 2 deletions

View file

@ -225,7 +225,10 @@ namespace kml
{
FileReader file(kmlFile);
ReaderSource<FileReader> source(file);
return ParseXML(source, parser, true);
LOG(LINFO, ("Parsing XML"));
bool const bRes = ParseXML(source, parser, true);
LOG(LINFO, (bRes));
return bRes;
}
catch (std::exception const &)
{

View file

@ -34,9 +34,10 @@ namespace feature
Polygonizer(TInfo & info) : m_FeatureOutInitData(info.datFilePrefix, info.datFileSuffix),
m_worldMap(info.maxScaleForWorldFeatures, info.mergeCoastlines, m_FeatureOutInitData)
#if PARALLEL_POLYGONIZER
, m_ThreadPoolSemaphore(m_ThreadPool.maxThreadCount() * 4)
, m_ThreadPoolSemaphore(m_ThreadPool.maxThreadCount() * 8)
#endif
{
LOG(LINFO, ("Polygonizer thread pool threads:", m_ThreadPool.maxThreadCount()));
CHECK(kml::LoadCountriesList(info.datFilePrefix, m_countries, info.simplifyCountriesLevel),
("Error loading country polygons files"));