Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4377

Add debug logging for number of results in query batches

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.0
    • Logging
    • None
    • Not Needed

    Description

      The driver already has debug logging available for server replies, but the log message is generic and doesn't log the actual response document. Normally this isn't a problem, but for cursor-related responses it can sometimes be useful to know the number of documents returned in each batch.

      We should add debug logging to QueryBatchCursor and AsyncQueryBatchCursor to log the number of documents returned in each batch.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: