Register AuditClientObserver solely when auditing is enabled

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10, 7.0.22
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0, v7.0
    • Security 2024-12-23
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The AuditClientObserver adds some tasks that need to be done on OperationContext and Client creation for auditing purposes. We should only register this when auditing is enabled (e.g., the auditLog.destination config option has been set). This will eliminate the perf impact of performing those tasks when auditing isn't even enabled.

            Assignee:
            Varun Ravichandran
            Reporter:
            Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: