@@ -2068,6 +2068,14 @@ The following parameters support diagnostic data capture (FTDC):
2068
2068
2069
2069
|mongos-only|
2070
2070
2071
+ .. warning::
2072
+
2073
+ If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
2074
+ disabled with :parameter:`diagnosticDataCollectionEnabled` or if
2075
+ :setting:`systemLog.destination` is set to ``syslog``, you must restart
2076
+ :binary:`~bin.mongos` after setting
2077
+ ``diagnosticDataCollectionDirectoryPath``.
2078
+
2071
2079
Specify the directory for the diagnostic directory for
2072
2080
:binary:`~bin.mongos`. If the directory does not exist,
2073
2081
:binary:`~bin.mongos` creates the directory.
@@ -2081,15 +2089,11 @@ The following parameters support diagnostic data capture (FTDC):
2081
2089
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
2082
2090
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
2083
2091
2084
- .. important::
2085
-
2086
- If the :binary:`~bin.mongos` cannot create the specified
2087
- directory, the diagnostic data capture is disabled for that
2088
- instance. This is often caused by:
2089
-
2090
- - a file with the same name already exists in the path, or
2091
-
2092
- - the process does not have permissions to create the directory.
2092
+ If the :binary:`~bin.mongos` cannot create the specified directory, the
2093
+ diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
2094
+ may not be able to create the specified directory if a file with the same
2095
+ name already exists in the path or if the process does not have permissions
2096
+ to create the directory.
2093
2097
2094
2098
.. parameter:: diagnosticDataCollectionDirectorySizeMB
2095
2099
0 commit comments