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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Nightly Builds
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment