@@ -1851,6 +1851,14 @@ The following parameters support diagnostic data capture (FTDC):
1851
1851
1852
1852
|mongos-only|
1853
1853
1854
+ .. warning::
1855
+
1856
+ If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
1857
+ disabled with :parameter:`diagnosticDataCollectionEnabled` or if
1858
+ :setting:`systemLog.destination` is set to ``syslog``, you must restart
1859
+ :binary:`~bin.mongos` after setting
1860
+ ``diagnosticDataCollectionDirectoryPath``.
1861
+
1854
1862
Specify the directory for the diagnostic directory for
1855
1863
:binary:`~bin.mongos`. If the directory does not exist,
1856
1864
:binary:`~bin.mongos` creates the directory.
@@ -1864,12 +1872,11 @@ The following parameters support diagnostic data capture (FTDC):
1864
1872
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
1865
1873
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
1866
1874
1867
- .. important::
1868
-
1869
- If :binary:`~bin.mongos` cannot create the specified directory, e.g.
1870
- a file exists with the same name in the path or the process does
1871
- not have permissions to create the directory, the diagnostic data
1872
- capture will be disabled for that instance.
1875
+ If the :binary:`~bin.mongos` cannot create the specified directory, the
1876
+ diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
1877
+ may not be able to create the specified directory if a file with the same
1878
+ name already exists in the path or if the process does not have permissions
1879
+ to create the directory.
1873
1880
1874
1881
.. parameter:: diagnosticDataCollectionDirectorySizeMB
1875
1882
0 commit comments