@@ -1477,6 +1477,14 @@ The following parameters support diagnostic data capture (FTDC):
1477
1477
1478
1478
|mongos-only|
1479
1479
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
+
1480
1488
Specify the directory for the diagnostic directory for
1481
1489
:binary:`~bin.mongos`. If the directory does not exist,
1482
1490
:binary:`~bin.mongos` creates the directory.
@@ -1490,12 +1498,11 @@ The following parameters support diagnostic data capture (FTDC):
1490
1498
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
1491
1499
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
1492
1500
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.
1499
1506
1500
1507
.. parameter:: diagnosticDataCollectionDirectorySizeMB
1501
1508
0 commit comments