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

Include projection in the slow query logs

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 1.8.1
    • None
    • Querying
    • 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

              david.storch@mongodb.com David Storch
              brahmana Srirang G Doddihal
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: