Commons Dbcp
  1. Commons Dbcp
  2. DBCP-4

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

    Details

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

      Operating System: All
      Platform: All

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Alan Tam
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development