You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Wilson (JIRA)" <ji...@apache.org> on 2009/08/03 16:45:14 UTC

[jira] Commented: (PDFBOX-472) use commons logging

    [ https://issues.apache.org/jira/browse/PDFBOX-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738370#action_12738370 ] 

Daniel Wilson commented on PDFBOX-472:
--------------------------------------

I think everyone agrees that the logging should be changed.

If I'm reading this right, 3 experience Java developers, 2 of them on the PDFBox team, prefer 3 different ways of changing.

How do we resolve this and move forward?

For my needs, the current process is OK, though the performance hit on the logger().fine line displeases me.  But for others, what I put in is not OK.

Thanks!

> 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.