Skip to content

Commit 0ff8491

Browse files
authored
DOCSP-26691-clarify-default-behavior-log-rotation-replica (#7161) (#7381)
* DOCSP-26691-clarify-default-behavior-log-rotation-replica * Editorial feedback. * Small editorial edit.
1 parent 085142b commit 0ff8491

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/tutorial/rotate-log-files.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ Finally, you can configure :binary:`~bin.mongod` to send log data to the
4141
``syslog`` using the :option:`--syslog <mongod --syslog>` option. In
4242
this case, you can take advantage of alternate log rotation tools.
4343

44+
.. note::
45+
46+
:dbcommand:`logRotate` isn't a replicated command. You must connect
47+
to each instance of a replica set and run :dbcommand:`logRotate`
48+
to rotate the logs for replica set members.
49+
50+
4451
To rotate the log files, you must perform one of these steps:
4552

4653
- Send a ``SIGUSR1`` signal to the :binary:`~bin.mongod` or

0 commit comments

Comments
 (0)