[DOCS-3753] Documentation states operationProfiling.mode is an int, but server requires a string Created: 13/Jul/14  Updated: 31/Jul/14  Resolved: 31/Jul/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.9

Type: Bug Priority: Minor - P4
Reporter: Amith George Assignee: Tim Slavin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 28 weeks, 6 days ago

 Description   

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.



 Comments   
Comment by Githook User [ 31/Jul/14 ]

Author:

{u'username': u'TimSlavinMongoDB', u'name': u'Tim Slavin (MongoDB)', u'email': u'tim.slavin@10gen.com'}

Message: DOCS-3753: Documentation states operationProfiling.mode is an int, but server requires a string

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/8336a9921a95b0f229d3d2d6adddf25a2623c756

Generated at Thu Feb 08 07:46:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.