Skip to content

Commit 1cb324e

Browse files
authored
DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath (#2753) (#2855)
* DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath * copy cleanup * IF feedback * move warning message
1 parent 66a8418 commit 1cb324e

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

source/reference/parameters.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,14 @@ The following parameters support diagnostic data capture (FTDC):
14771477

14781478
|mongos-only|
14791479

1480+
.. warning::
1481+
1482+
If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
1483+
disabled with :parameter:`diagnosticDataCollectionEnabled` or if
1484+
:setting:`systemLog.destination` is set to ``syslog``, you must restart
1485+
:binary:`~bin.mongos` after setting
1486+
``diagnosticDataCollectionDirectoryPath``.
1487+
14801488
Specify the directory for the diagnostic directory for
14811489
:binary:`~bin.mongos`. If the directory does not exist,
14821490
:binary:`~bin.mongos` creates the directory.
@@ -1490,12 +1498,11 @@ The following parameters support diagnostic data capture (FTDC):
14901498
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
14911499
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
14921500

1493-
.. important::
1494-
1495-
If :binary:`~bin.mongos` cannot create the specified directory, e.g.
1496-
a file exists with the same name in the path or the process does
1497-
not have permissions to create the directory, the diagnostic data
1498-
capture will be disabled for that instance.
1501+
If the :binary:`~bin.mongos` cannot create the specified directory, the
1502+
diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
1503+
may not be able to create the specified directory if a file with the same
1504+
name already exists in the path or if the process does not have permissions
1505+
to create the directory.
14991506

15001507
.. parameter:: diagnosticDataCollectionDirectorySizeMB
15011508

0 commit comments

Comments
 (0)