public boolean isAuditorEnabledForEventId ( AuditEventMessage msg ) { CodedValueType eventIdCode = msg . getAuditMessage ( ) . getEventIdentification ( ) . getEventID ( ) ; if ( EventUtils . containsCode ( eventIdCode , getConfig ( ) . getDisabledEvents ( ) ) ) { if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "Auditor is disabled by configuration for event " + eventIdCode . getOriginalText ( ) + " (" + eventIdCode . getCode ( ) + ")" ) ; } return false ; } return true ; }
Determines if the event that this audit message represents should be audited or if the auditor is disabled by configuration . Examples of events that may be disabled include Export Import Patient Record Security Alert etc .