[DOCS-14321] Investigate changes in SERVER-19470: logRotate - Currently rotates both audit log and server log Created: 29/Mar/21  Updated: 13/Nov/23  Due: 18/Jun/21  Resolved: 06/Jul/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.9.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Andrew Feierabend (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-19470 logRotate - Currently rotates both au... Closed
Participants:
Days since reply: 2 years, 31 weeks, 1 day ago
Epic Link: DOCSP-9747
Story Points: 2

 Description   

Description

Downstream Change Summary

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.)



 Comments   
Comment by Githook User [ 06/Jul/21 ]

Author:

{'name': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-14321 logRotate rotates server and audit logs
Branch: master
https://github.com/mongodb/docs/commit/8e5efb8383bfa43d4dbbd5f6dfcf96b2c4b3c5d7

Generated at Thu Feb 08 08:10:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.