Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.32, 3.0.3 PDFBox
-
None
Description
We have a monitoring system for our logfiles and some people get notified whenever there is an error or a warning in the logfiles.
Due to OS updates, the fonts might be updated or changed. This triggers a rebuild process within PDFBox. Unfortunately, the loglevel is set to Warning and this triggers an alarm.
The warnings occur in:
org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
The logfile shows the following three entries:
2024-08-19T18:25:03.653+02:00 WARN FileSystemFontProvider: New fonts found, font cache will be re-built
2024-08-19T18:25:03.654+02:00 WARN FileSystemFontProvider: Building on-disk font cache, this may take a while
2024-08-19T18:25:04.105+02:00 WARN FileSystemFontProvider: Finished building on-disk font cache, found 96 fonts
Imho the message is more informational and not necessary a warning. It just gives me the information, that the cache is getting rebuilt.
It would be great if you could consider setting these messages to info level.