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

Log rotate for auditing does not work on startup

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL
    • Security 2022-02-21

      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.

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

              Created:
              Updated:
              Resolved: