Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3129

Include projection in the slow query logs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
    • Environment:
      Observed on Linux, very likely affects ALL

      Description

      Whenever a query is made to fetch a subset of fields it would be good to have mongod log the request subset of fields along with the query itself. Currently when running in verbose mode the query document is fully logged where as the requested fields are not.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: