@@ -2120,6 +2120,14 @@ The following parameters support diagnostic data capture (FTDC):
2120
2120
2121
2121
|mongos-only|
2122
2122
2123
+ .. warning::
2124
+
2125
+ If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
2126
+ disabled with :parameter:`diagnosticDataCollectionEnabled` or if
2127
+ :setting:`systemLog.destination` is set to ``syslog``, you must restart
2128
+ :binary:`~bin.mongos` after setting
2129
+ ``diagnosticDataCollectionDirectoryPath``.
2130
+
2123
2131
Specify the directory for the diagnostic directory for
2124
2132
:binary:`~bin.mongos`. If the directory does not exist,
2125
2133
:binary:`~bin.mongos` creates the directory.
@@ -2133,15 +2141,11 @@ The following parameters support diagnostic data capture (FTDC):
2133
2141
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
2134
2142
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
2135
2143
2136
- .. important::
2137
-
2138
- If the :binary:`~bin.mongos` cannot create the specified
2139
- directory, the diagnostic data capture is disabled for that
2140
- instance. This is often caused by:
2141
-
2142
- - a file with the same name already exists in the path, or
2143
-
2144
- - the process does not have permissions to create the directory.
2144
+ If the :binary:`~bin.mongos` cannot create the specified directory, the
2145
+ diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
2146
+ may not be able to create the specified directory if a file with the same
2147
+ name already exists in the path or if the process does not have permissions
2148
+ to create the directory.
2145
2149
2146
2150
.. parameter:: diagnosticDataCollectionDirectorySizeMB
2147
2151
0 commit comments