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

DEBUG mode for shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Shell
    • Server Tooling & Methods

    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

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

            Dates

              Created:
              Updated: