You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jonathan Amir (JIRA)" <ji...@apache.org> on 2008/04/03 14:48:24 UTC

[jira] Commented: (DBCP-4) [dbcp] Use commons-logging for debugging instead of System.out.println

    [ https://issues.apache.org/jira/browse/DBCP-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585087#action_12585087 ] 

Jonathan Amir commented on DBCP-4:
----------------------------------

yeah, I vote for fixing this as well. It doesn't make sense that a commons library won't use commons-logging and instead throw its output to stdout or stderr. Very annoying.

> [dbcp] Use commons-logging for debugging instead of System.out.println
> ----------------------------------------------------------------------
>
>                 Key: DBCP-4
>                 URL: https://issues.apache.org/jira/browse/DBCP-4
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Alan Tam
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: dbcp-commons-logging-2.patch, dbcp-commons-logging.patch
>
>
> At the source code of commons-dbcp, some System.out.println() and
> System.err.println() statements can be found, noticeably in the constructor of 
> "java.org.apache.commons.dbcp.AbandonedObjectPool".
> These statements are annoying, because none of the developers want to see these
> messages but they occuplied the precious space in the log files.
> I think it is still appropriate to use this method to emit errors, but for
> normal behavior, we should have an option never seeing them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.