@@ -23,15 +23,15 @@ Definition
23
23
<set-profiling-level-options-sampleRate>`.
24
24
25
25
If the :ref:`database profiler level <set-profiling-level-level>` is
26
- ``1`` or ``2`` (i.e. the :doc:`database profiler
26
+ ``1`` or ``2`` (specifically, the :doc:`database profiler
27
27
</tutorial/manage-the-database-profiler/>` is enabled), the
28
28
:ref:`slowms <set-profiling-level-options-slowms>` and the
29
29
:ref:`sampleRate <set-profiling-level-options-sampleRate>` affect
30
30
the behavior of both the profiler and the :option:`diagnostic log
31
31
<mongod --logpath>`.
32
32
33
33
If the :ref:`database profiler level <set-profiling-level-level>` is
34
- ``0`` (i.e. :doc:`database profiler
34
+ ``0`` (specifically, :doc:`database profiler
35
35
</tutorial/manage-the-database-profiler/>` is disabled), the
36
36
:ref:`slowms <set-profiling-level-options-slowms>` and the
37
37
:ref:`sampleRate <set-profiling-level-options-sampleRate>` affect
@@ -48,6 +48,8 @@ Definition
48
48
:method:`db.setProfilingLevel()` provides a wrapper around the
49
49
:dbcommand:`profile` command.
50
50
51
+ .. include:: /includes/log-changes-to-database-profiler.rst
52
+
51
53
Syntax
52
54
~~~~~~
53
55
@@ -83,7 +85,7 @@ Parameters
83
85
84
86
.. include:: /includes/database-profiler-levels.rst
85
87
86
- Since profiling is not available on :binary:`~bin.mongos`,
88
+ Because profiling is not available on :binary:`~bin.mongos`,
87
89
:method:`db.setProfilingLevel()` cannot be used to set the profiling
88
90
level to a value other than ``0`` on a :binary:`~bin.mongos` instance.
89
91
@@ -114,9 +116,9 @@ Parameters
114
116
For :binary:`~bin.mongod` instances, the setting affects both the
115
117
diagnostic log and, if enabled, the profiler.
116
118
117
- For :binary:`~bin.mongos` instances, the setting affects the
118
- diagnostic log only and not the profiler since profiling is not
119
- available on :binary:`~bin.mongos`.
119
+ For :binary:`~bin.mongos` instances, the setting affects
120
+ the diagnostic log only and not the profiler because
121
+ profiling is not available on :binary:`~bin.mongos`.
120
122
121
123
.. note::
122
124
This argument affects the same setting as the configuration
@@ -135,9 +137,9 @@ Parameters
135
137
For :binary:`~bin.mongod` instances, the setting affects both the
136
138
diagnostic log and, if enabled, the profiler.
137
139
138
- For :binary:`~bin.mongos` instances, the setting affects the
139
- diagnostic log only and not the profiler since profiling is not
140
- available on :binary:`~bin.mongos`.
140
+ For :binary:`~bin.mongos` instances, the setting affects
141
+ the diagnostic log only and not the profiler because
142
+ profiling is not available on :binary:`~bin.mongos`.
141
143
142
144
.. note::
143
145
This argument affects the same setting as the configuration option
0 commit comments