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

          Phil Steitz made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Mark Thomas made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Won't Fix [ 2 ]
          Mark Thomas made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Niall Pemberton made changes -
          Link This issue is duplicated by DBCP-200 [ DBCP-200 ]
          Phil Steitz made changes -
          Fix Version/s 1.3 [ 12311977 ]
          Bugzilla Id 30375
          Henri Yandell made changes -
          Affects Version/s Nightly Builds [ 12311711 ]
          Henri Yandell made changes -
          Project Commons [ 12310458 ] Commons Dbcp [ 12310469 ]
          Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
          Key COM-1448 DBCP-4
          Affects Version/s Nightly Builds [ 12311648 ]
          Component/s Dbcp [ 12311109 ]
          Henri Yandell made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 30375 12341600
          Alan Tam created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development