[
https://issues.apache.org/jira/browse/DBCP-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Thomas reopened DBCP-4:
----------------------------
I have been reading through the archives. There may be a case for removing the
deprecation in which case the System.out usage will need to be fixed. I want to
look at this some more so am re-opening so I don't forget to come back to it.
Whatever the end result, I am pretty certain commons-logging won't be the
solution. Using the logWriters looks like a better bet.
> [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.