@@ -2150,6 +2150,14 @@ The following parameters support diagnostic data capture (FTDC):
2150
2150
2151
2151
|mongos-only|
2152
2152
2153
+ .. warning::
2154
+
2155
+ If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
2156
+ disabled with :parameter:`diagnosticDataCollectionEnabled` or if
2157
+ :setting:`systemLog.destination` is set to ``syslog``, you must restart
2158
+ :binary:`~bin.mongos` after setting
2159
+ ``diagnosticDataCollectionDirectoryPath``.
2160
+
2153
2161
Specify the directory for the diagnostic directory for
2154
2162
:binary:`~bin.mongos`. If the directory does not exist,
2155
2163
:binary:`~bin.mongos` creates the directory.
@@ -2163,15 +2171,11 @@ The following parameters support diagnostic data capture (FTDC):
2163
2171
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
2164
2172
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
2165
2173
2166
- .. important::
2167
-
2168
- If the :binary:`~bin.mongos` cannot create the specified
2169
- directory, the diagnostic data capture is disabled for that
2170
- instance. This is often caused by:
2171
-
2172
- - a file with the same name already exists in the path, or
2173
-
2174
- - the process does not have permissions to create the directory.
2174
+ If the :binary:`~bin.mongos` cannot create the specified directory, the
2175
+ diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
2176
+ may not be able to create the specified directory if a file with the same
2177
+ name already exists in the path or if the process does not have permissions
2178
+ to create the directory.
2175
2179
2176
2180
.. parameter:: diagnosticDataCollectionDirectorySizeMB
2177
2181
0 commit comments