Include projection in the slow query logs

XMLWordPrintableJSON

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

      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.

              Assignee:
              David Storch
              Reporter:
              Srirang G Doddihal
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: