-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
We have added functionality to rotating the audit log and the server log separately. To rotate the audit log, the user needs to issue the command db.adminCommand({logRotate: "audit"}). To rotate the server log, the user needs to issue the command db.adminCommand({logRotate: "server"}). To rotate both logs, the user can issue db.adminCommand({logRotate: 1}). Other inputs may work, but are not officially supported.
Description of Linked Ticket
There is no current way to indicate what files you want to rotate individually. Therefore, all managed files are rotated at once.
It would be good if a log rotation can be performed independently to the audit and standard log files.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-19470 logRotate - Currently rotates both audit log and server log
- Closed