void logAuditRecord ( ) { trackConfigurationChange ( ) ; if ( ! auditLogged ) { try { AccessAuditContext accessContext = SecurityActions . currentAccessAuditContext ( ) ; Caller caller = getCaller ( ) ; auditLogger . log ( isReadOnly ( ) , resultAction , caller == null ? null : caller . getName ( ) , accessContext == null ? null : accessContext . getDomainUuid ( ) , accessContext == null ? null : accessContext . getAccessMechanism ( ) , accessContext == null ? null : accessContext . getRemoteAddress ( ) , getModel ( ) , controllerOperations ) ; auditLogged = true ; } catch ( Exception e ) { ControllerLogger . MGMT_OP_LOGGER . failedToUpdateAuditLog ( e ) ; } } }
Log an audit record of this operation .