createIndexes command should be explicitly logged

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Eric Milkie
            Reporter:
            Bernie Hackett
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: