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

DEBUG mode for shell

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Server Tooling & Methods

      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.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: