[
https://issues.apache.org/jira/browse/PDFBOX-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715740#action_12715740
]
Sean Bridges commented on PDFBOX-472:
-------------------------------------
As a further incentive to apply the patch above, while extracting text ~15% of
the time is spent executing the line,
logger().fine("token: " + next.toString());
in PDFStreamEngine.processSubstream(...)
The patch submited does a isDebugEnabled test which avoids the toString() calls.
For a client, a library that Uses commons logging or slf4j is much easier to
integrate than one that uses java util logging.
> use commons logging
> -------------------
>
> Key: PDFBOX-472
> URL: https://issues.apache.org/jira/browse/PDFBOX-472
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 0.8.0-incubator
> Reporter: Sean Bridges
> Fix For: 0.8.0-incubator
>
> Attachments: logpatch
>
>
> LoggingObject logs all pdfbox output to a file PDFBox.log using
> java.util.logging. The app may not have permission to create this file, the
> user probably won't be looking at it for errors, and for long running server
> tasks, this file may grow very large.
> It would be much nicer to simply use apache commons logging (or even SLF4J)
> and allow the application to setup logging as they see fit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.