Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3753

Documentation states operationProfiling.mode is an int, but server requires a string

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • v1.3.9
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      A YAML config file containing the following info is not accepted by the server.

      operationProfiling:
      mode: 1

      The documentation online says the value should be an int. However starting the server with this config file throws the error

      2014-07-13T23:55:33.896+0530 SEVERE: Failed global initialization: BadValue operationProfiling.mode must be a string of the format: (off/slowOp/all)

      Modifying the config file to read

      operationProfiling:
      mode: slowOp

      fixes the issue.

            Assignee:
            tim.slavin Tim Slavin
            Reporter:
            amithgeorge Amith George
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 39 weeks, 5 days ago