Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62295

Use symbolink for the "current" audit file

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Morpheus
    • Morpheus
    • memcached
    • 0

    Description

      The current implementation of audit creates a file named audit.log and continues to write to that file until it is time to rotate the file. At that time it'll close the file and rename the file to: hostname-timestamp.log.

      As part of the startup we need to determine the actual name of the file and rename the previous audit.log

      Given that our supported platforms support links on the filesystem we can might as well write directly to the destination file and let audit.log point to the "current" file.

      Attachments

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty