Uploaded image for project: 'Commons Dbcp'
  1. Commons Dbcp
  2. DBCP-4

[dbcp] Use commons-logging for debugging instead of System.out.println

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.3
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      30375

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tam@siulung.com Alan Tam
              • Votes:
                5 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: