Reduce logs

This commit is contained in:
jpirnay
2026-05-23 19:55:50 +02:00
parent 2868ed3af2
commit 0dc3fc623c
2 changed files with 0 additions and 8 deletions
-2
View File
@@ -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");
} }
} }
-6
View File
@@ -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();