Skip to content

Commit

Permalink
PDFBOX-5874: change Loglevel from warn to info when rebuilding font c…
Browse files Browse the repository at this point in the history
…ache, as suggested by Thomas Hoffmann

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1920250 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Aug 28, 2024
1 parent f7f69db commit 72c49e8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ private FSFontInfo createFSIgnored(File file, FontFormat format, String postScri
}
else
{
LOG.warn("Building on-disk font cache, this may take a while");
LOG.info("Building on-disk font cache, this may take a while");
scanFonts(files);
saveDiskCache();
LOG.warn("Finished building on-disk font cache, found {} fonts",
LOG.info("Finished building on-disk font cache, found {} fonts",
fontInfoList.size());
}
}
Expand Down Expand Up @@ -644,7 +644,7 @@ private List<FSFontInfo> loadDiskCache(List<File> files)
if (!pending.isEmpty())
{
// re-build the entire cache if we encounter un-cached fonts (could be optimised)
LOG.warn("{} new fonts found, font cache will be re-built", pending.size());
LOG.info("{} new fonts found, font cache will be re-built", pending.size());
return null;
}

Expand Down

0 comments on commit 72c49e8

Please sign in to comment.