Thomas Hoffmann created PDFBOX-5874:
---------------------------------------
Summary: Change Loglevel from Warn to info when rebuilding font
cache
Key: PDFBOX-5874
URL: https://issues.apache.org/jira/browse/PDFBOX-5874
Project: PDFBox
Issue Type: Improvement
Components: PDModel
Affects Versions: 3.0.3 PDFBox
Reporter: Thomas Hoffmann
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]