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

Add debug logging for number of results in query batches

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: