Author: tilman
Date: Wed Aug 28 11:52:58 2024
New Revision: 1920249
URL: http://svn.apache.org/viewvc?rev=1920249&view=rev
Log:
PDFBOX-5874: change Loglevel from warn to info when rebuilding font cache, as
suggested by Thomas Hoffmann
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
URL:
http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java?rev=1920249&r1=1920248&r2=1920249&view=diff
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
(original)
+++
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Wed Aug 28 11:52:58 2024
@@ -366,10 +366,10 @@ final class FileSystemFontProvider exten
}
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 " +
fontInfoList.size()
+ LOG.info("Finished building on-disk font cache, found " +
fontInfoList.size()
+ " fonts");
}
}
@@ -662,7 +662,7 @@ final class FileSystemFontProvider exten
if (!pending.isEmpty())
{
// re-build the entire cache if we encounter un-cached fonts
(could be optimised)
- LOG.warn(pending.size() + " new fonts found, font cache will be
re-built");
+ LOG.info(pending.size() + " new fonts found, font cache will be
re-built");
return null;
}