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

DEBUG mode for shell

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Shell
    • Labels:
      None

      Description

      At present we have "--verbose" option for mongo shell - with that additional diagnostic messages are printed. However the verbosity level still does not match those we can have with the drivers.

      For example we can get this sort of debug messages from the Ruby driver:

      D, [2016-10-26T17:39:21.344620 #5949] DEBUG -- : MONGODB | mubuntu:27017 | test.delete | STARTED | {"delete"=>"testcol", "deletes"=>[{"q"=>{}, "limit"=>0}], "ordered"=>true}
      D, [2016-10-26T17:39:21.834861 #5949] DEBUG -- : MONGODB | mubuntu:27017 | test.delete | SUCCEEDED | 0.490105045s
      

      It would be nice to have a proper DEBUG mode for the shell that would provide similar level of logging.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devtools Backlog - Dev Tools
            Reporter:
            dmitry.ryabtsev Dmitry Ryabtsev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: