Details

    • Admin & Maintenance Task
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 2.21.0
    • None
    • None
    • 1
    • No
    • No
    • Yes
    • [obsolete] C/S Core

    Description

      There is an error in the documentation for setting up MongoDB

       

      Set profiling in a mongo session
      In a mongo session:

      use admin
      db.setProfilingLevel(2)

       

      It shouldn't say use admin since the profiler must be enable PER COLLECTION

      it should say 
      use <collection you want to profile>
      sg.setProfilingLevel(2, {slowms: 0})

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              carlos.salguero Carlos Salguero (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist