@@ -23,15 +23,15 @@ Definition
2323 <set-profiling-level-options-sampleRate>`.
2424
2525 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
2727 </tutorial/manage-the-database-profiler/>` is enabled), the
2828 :ref:`slowms <set-profiling-level-options-slowms>` and the
2929 :ref:`sampleRate <set-profiling-level-options-sampleRate>` affect
3030 the behavior of both the profiler and the :option:`diagnostic log
3131 <mongod --logpath>`.
3232
3333 If the :ref:`database profiler level <set-profiling-level-level>` is
34- ``0`` (i.e. :doc:`database profiler
34+ ``0`` (specifically, :doc:`database profiler
3535 </tutorial/manage-the-database-profiler/>` is disabled), the
3636 :ref:`slowms <set-profiling-level-options-slowms>` and the
3737 :ref:`sampleRate <set-profiling-level-options-sampleRate>` affect
@@ -48,6 +48,8 @@ Definition
4848 :method:`db.setProfilingLevel()` provides a wrapper around the
4949 :dbcommand:`profile` command.
5050
51+ .. include:: /includes/log-changes-to-database-profiler.rst
52+
5153Syntax
5254~~~~~~
5355
@@ -83,7 +85,7 @@ Parameters
8385
8486 .. include:: /includes/database-profiler-levels.rst
8587
86- Since profiling is not available on :binary:`~bin.mongos`,
88+ Because profiling is not available on :binary:`~bin.mongos`,
8789 :method:`db.setProfilingLevel()` cannot be used to set the profiling
8890 level to a value other than ``0`` on a :binary:`~bin.mongos` instance.
8991
@@ -114,9 +116,9 @@ Parameters
114116 For :binary:`~bin.mongod` instances, the setting affects both the
115117 diagnostic log and, if enabled, the profiler.
116118
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`.
120122
121123 .. note::
122124 This argument affects the same setting as the configuration
@@ -135,9 +137,9 @@ Parameters
135137 For :binary:`~bin.mongod` instances, the setting affects both the
136138 diagnostic log and, if enabled, the profiler.
137139
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`.
141143
142144 .. note::
143145 This argument affects the same setting as the configuration option
0 commit comments