Hi,

please avoid double postings on our mailing lists.

Am 08.07.2013 07:32, schrieb webrtcgo:
> I am converting PDFs to image files using pdfbox which is very good.
> I just do not know how to solve a little inconvenience.
> I got these information on my console while converting PDFs to image files:
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <也> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <,> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <姓> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <刘> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <,> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <名> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <有> from <宋体> to the 
> default font
> 10:48:08,593 WARN  [PDSimpleFont:135] Changing font on <生> from <宋体> to the 
> default font
> 10:48:08,609 WARN  [PDSimpleFont:135] Changing font on <,> from <宋体> to the 
> default font
> 10:48:08,609 WARN  [PDSimpleFont:135] Changing font on <东> from <宋体> to the 
> default font
> 10:48:08,609 WARN  [PDSimpleFont:135] Changing font on <北> from <宋体> to the 
> default font
> 10:48:08,609 WARN  [PDSimpleFont:135] Changing font on <人> from <宋体> to the 
> default font
> ......and many many more
> I just want to eliminate these warn information from my console. Please tell 
> me how to do that.
> Thanks a lot for any help.
You should use your own logging configuration. PDFBox provides a sample
configuration
file [1]. Use the folowing command line parameter to define use your own config 
file

-Djava.util.logging.config.file=logging.properties

> webrtcgo
> 
> From: webrtcgo
> Date: 2013-07-08 11:36
> To: users-subscribe
> Subject:


BR
Andreas Lehmkühler
[1]
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/test/resources/logging.properties

Reply via email to