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

Configure auditing - log rotation is not accurate

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None
    • 0.5

    Description

      At https://docs.mongodb.com/manual/tutorial/configure-auditing/, the following is stated:

      The audit file rotates at the same time as the server log file.

      .

      I have verified that if log rotation is forced using kill -SIGUSR1 <mongod process id>, then both the audit file and the log file will be rotated at the same time. However, if the mongod process is restarted, then the mongod log file will be rotated, but the audit file will not be rotated.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            alexander.marquardt Alexander Marquardt
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              46 weeks, 6 days ago