const MAX_LOG_SIZE: usize = 1000;
Maximum number of events to store in the audit log bounded to prevent memory exhaustion