Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62938

Log rotate for auditing does not work on startup

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • Security 2022-02-21

    Description

      Looking through logs for audit tasks on master and v5.2, specifically the test for log_rotate_startup.js, there are lots of messages saying "Log rotation initiated" immediately followed by "Unknown log type for rotate". We should make sure that the logs are rotating correctly on startup and fix the test log_rotate_startup to catch this and to ensure that future changes don't break this behavior.

      Attachments

        Activity

          People

            erwin.pe@mongodb.com Erwin Pe
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: