From 0dc3fc623c0932e8aecb0514a8edaa631f270c46 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Sat, 23 May 2026 19:55:50 +0200 Subject: [PATCH] Reduce logs --- lib/Epub/Epub.cpp | 2 -- lib/Epub/Epub/Section.cpp | 6 ------ 2 files changed, 8 deletions(-) diff --git a/lib/Epub/Epub.cpp b/lib/Epub/Epub.cpp index b3de26bf..2375be19 100644 --- a/lib/Epub/Epub.cpp +++ b/lib/Epub/Epub.cpp @@ -714,8 +714,6 @@ bool Epub::load(const bool buildIfMissing, const bool skipLoadingCss) { const auto pageListPath = getCachePath() + "/pagelist.bin"; if (!Storage.exists(pageListPath.c_str())) { parsePageMapFile(); - } else { - LOG_DBG("EBP", "page-map.xml present but pagelist.bin already written by NCX/nav; skipping"); } } diff --git a/lib/Epub/Epub/Section.cpp b/lib/Epub/Epub/Section.cpp index a8f63478..40cdcd90 100644 --- a/lib/Epub/Epub/Section.cpp +++ b/lib/Epub/Epub/Section.cpp @@ -480,10 +480,6 @@ bool Section::createSectionFile(const int fontId, const float lineCompression, c } } pageListFile.close(); - LOG_DBG("SCT", "Loaded %u printed-page anchors for %s (of %u total in pagelist.bin)", - static_cast(externalPageBreakAnchors.size()), localPath.c_str(), static_cast(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()) { this->pageBreakLabels.emplace_back(entry.first, entry.second); } - LOG_DBG("SCT", "Recorded %u printed-page labels for spine=%d", static_cast(this->pageBreakLabels.size()), - spineIndex); file.close();