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

createIndexes command should be explicitly logged

    • Fully Compatible
    • ALL

      When attempting to call createIndexes against a 2.4.x mongod I see the following in the log:

      Wed Mar  5 11:26:15.568 [conn1] run command foo.$cmd { createIndexes: "bar", indexes: [ { name: "a_1", key: { a: 1 } } ] }
      

      Calling createIndexes against 2.6rc0 results in a log message like this:

      2014-03-05T11:29:36.272-0800 [conn1] command foo.$cmd command: { v: 1, key: { b: 1 }, name: "b_1", ns: "foo.bar" } keyUpdates:0 numYields:0 locks(micros) r:30 w:406 reslen:113 0ms
      

      The createIndexes: "bar" part should really be in the 2.6 log as well.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: