question: public void recordMirrorOperation ( DbClient dbClient , OperationTypeEnum opType , Operation . Status status , Object ... extParam ) { try { boolean opStatus = ( Operation . Status . ready == status ) ? true : false ; String evType ; evType = opType . getEvType ( opStatus ) ; String evDesc = opType . getDescription ( ) ; String opStage = AuditLogManager . AUDITOP_END ; _logger . info ( "opType: {} detail: {}" , opType . toString ( ) , evType . toString ( ) + ':' + evDesc ) ; recordBourneMirrorEvent ( dbClient , getId ( ) , evType , status , evDesc ) ; switch ( opType ) { case CREATE_FILE_MIRROR : case START_FILE_MIRROR : case SUSPEND_FILE_MIRROR : case DETACH_FILE_MIRROR : case PAUSE_FILE_MIRROR : case RESUME_FILE_MIRROR : case FAILOVER_FILE_MIRROR : case STOP_FILE_MIRROR : case FAILBACK_FILE_MIRROR : case RESYNC_FILE_MIRROR : case REFRESH_FILE_MIRROR : case MODIFY_FILE_MIRROR_RPO : auditFile ( dbClient , opType , opStatus , opStage , extParam ) ; break ; default : _logger . error ( "unrecognized Mirror operation type" ) ; } } catch ( Exception e ) { _logger . error ( "Failed to record Mirror operation {}, err: {}" , opType . toString ( ) , e ) ; } }
target:  Record FileShare related event and audit