Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14321

Investigate changes in SERVER-19470: logRotate - Currently rotates both audit log and server log

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

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 41 weeks, 1 day ago