Reduce logs
This commit is contained in:
@@ -714,8 +714,6 @@ bool Epub::load(const bool buildIfMissing, const bool skipLoadingCss) {
|
|||||||
const auto pageListPath = getCachePath() + "/pagelist.bin";
|
const auto pageListPath = getCachePath() + "/pagelist.bin";
|
||||||
if (!Storage.exists(pageListPath.c_str())) {
|
if (!Storage.exists(pageListPath.c_str())) {
|
||||||
parsePageMapFile();
|
parsePageMapFile();
|
||||||
} else {
|
|
||||||
LOG_DBG("EBP", "page-map.xml present but pagelist.bin already written by NCX/nav; skipping");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -480,10 +480,6 @@ bool Section::createSectionFile(const int fontId, const float lineCompression, c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageListFile.close();
|
pageListFile.close();
|
||||||
LOG_DBG("SCT", "Loaded %u printed-page anchors for %s (of %u total in pagelist.bin)",
|
|
||||||
static_cast<unsigned>(externalPageBreakAnchors.size()), localPath.c_str(), static_cast<unsigned>(count));
|
|
||||||
} else {
|
|
||||||
LOG_DBG("SCT", "No pagelist.bin in cache (skipping printed-page labels)");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -651,8 +647,6 @@ bool Section::createSectionFile(const int fontId, const float lineCompression, c
|
|||||||
for (const auto& entry : visitor.getPageBreakLabels()) {
|
for (const auto& entry : visitor.getPageBreakLabels()) {
|
||||||
this->pageBreakLabels.emplace_back(entry.first, entry.second);
|
this->pageBreakLabels.emplace_back(entry.first, entry.second);
|
||||||
}
|
}
|
||||||
LOG_DBG("SCT", "Recorded %u printed-page labels for spine=%d", static_cast<unsigned>(this->pageBreakLabels.size()),
|
|
||||||
spineIndex);
|
|
||||||
|
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user