We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da84261 commit 195bf9aCopy full SHA for 195bf9a
source/reference/command/logRotate.txt
@@ -23,7 +23,12 @@ logRotate
23
24
kill -SIGUSR1 2200
25
26
- The rotated files will have a timestamp of the form ``YYYY-MM-DD``\T ``HH-MM-SS``
+
27
+ :dbcommand:`logRotate` will cause the existing log file to be renamed
28
+ by appending the current timestamp to the filename. A new log file will be created
29
+ with the name which was specified by the :option:`--logpath` option to :program:`mongod`
30
+ or :program:`mongos`.
31
+ The rotated files will have a timestamp of the form yyyy-mm-ddThh-mm-ss
32
appended to the filename.
33
34
0 commit comments