[
https://issues.apache.org/jira/browse/PDFBOX-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877356#comment-17877356
]
ASF subversion and git services commented on PDFBOX-5874:
---------------------------------------------------------
Commit 1920250 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1920250 ]
PDFBOX-5874: change Loglevel from warn to info when rebuilding font cache, as
suggested by Thomas Hoffmann
> 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: 2.0.32, 3.0.3 PDFBox
> Reporter: Thomas Hoffmann
> Priority: Minor
> Fix For: 2.0.33, 3.0.4 PDFBox, 4.0.0
>
>
> 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]