[SERVER-19470] logRotate - Currently rotates both audit log and server log Created: 17/Jul/15  Updated: 29/Mar/21  Resolved: 11/Dec/20

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Ricardo Lorenzo Assignee: Shreyas Kalyan
Resolution: Done Votes: 6
Labels: platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-14321 Investigate changes in SERVER-19470: ... Closed
Problem/Incident
Related
Backwards Compatibility: Fully Compatible
Sprint: Platform 8 08/28/15, Security 2020-11-30, Security 2020-12-14
Participants:
Case:
Linked BF Score: 25

 Description   

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.



 Comments   
Comment by Githook User [ 12/Dec/20 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}

Message: SERVER-19470 Fix timing bug in log_rotate_test
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/c11c096e057d66658648d34c8a6bc94b52c53379

Comment by Githook User [ 11/Dec/20 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}

Message: SERVER-19470 logRotate - Currently rotates both audit log and server log
Branch: master
https://github.com/mongodb/mongo/commit/05e0b5789d90774c262037b8f7ccda3a07cbecf5

Comment by Githook User [ 11/Dec/20 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}

Message: SERVER-19470 logRotate - Currently rotates both audit log and server log
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/18010221a78a1a227d81576e0115ab87f24ca901

Comment by Paul A. Mosser [ 26/Jan/16 ]

We also need this functionality. Further, we need the capability to limit the execution of this function to users within a specified Role, such as "AuditAdministrator".

Generated at Thu Feb 08 03:51:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.