[DOCS-6491] Clarify documentation of operationProfiling.mode Created: 30/Oct/15  Updated: 11/Jan/17  Resolved: 22/Dec/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: James Kerr Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 8 years, 8 weeks, 1 day ago

 Description   

https://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.mode says

The level of database profiling, which inserts information about operation performance into standard output or a log file. Specify one of the following levels:

This controls what is stored in the profiling collection though not what is output to the logs or standard out, right? The wording contradicts, or at least confuses, the description for the operationProfiling.slowOpThresholdMs option:

MongoDB records all slow queries to the log, even when the database profiler is off.



 Comments   
Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'}

Message: DOCS-6491: mongod --profile and operationProfiling.mode affect system.profile, not stdout/logfile

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

Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'}

Message: DOCS-6491: mongod --profile and operationProfiling.mode affect system.profile, not stdout/logfile

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.0
https://github.com/mongodb/docs/commit/a68ab75faf2bb6053e9b71507139a2cb9a334268

Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'devkev', u'name': u'Kevin Pulo', u'email': u'kevin.pulo@mongodb.com'}

Message: DOCS-6491: mongod --profile and operationProfiling.mode affect system.profile, not stdout/logfile

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v2.6
https://github.com/mongodb/docs/commit/5e298766662fa66ba0a82b2e5c1e7901d3529944

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