code: public void audit(AuditEventMessage msg)
  	{
  		if (!isEnabled(msg)) {
  			if (LOGGER.isDebugEnabled()) {
  				LOGGER.debug("Auditor disabled - message not sent");
  			}
  			return;
  		}
  		
  		// Check if the target audit record repository hostname is set
  		if (EventUtils.isEmptyOrNull(msg.getDestinationAddress())) {
  			String auditHostName = getConfig().getAuditRepositoryHost();
  
  			if (EventUtils.isEmptyOrNull(auditHostName)) {
  				LOGGER.error("Audit Record Repository Address is not set, unable to send audit message");
  				return;
  			}
  			
  			InetAddress auditRepositoryAddress = null;
  			try {
  				auditRepositoryAddress = InetAddress.getByName(auditHostName);
  			} catch (Exception e) {
  				LOGGER.error("Audit Record Repository Address is invalid, unable to send audit message", e);
  				return;
  			}
  			
  			msg.setDestinationAddress(auditRepositoryAddress);
  		}
  		
  		// Check if the target audit record repository port is set
  		if (msg.getDestinationPort() == AuditorModuleConfig.AUDITOR_AUDIT_REPOSITORY_DEFAULT_PORT) {
  			int auditPortNumber = getConfig().getAuditRepositoryPort();
  
  			if (auditPortNumber == AuditorModuleConfig.AUDITOR_AUDIT_REPOSITORY_DEFAULT_PORT) {
  				LOGGER.warn("Audit Record Repository Port not set, using transport default");
  			}
  			
  			msg.setDestinationPort(auditPortNumber);
  		}
  		
  //		if (LOGGER.isDebugEnabled()) {
  //			LOGGER.debug("\n"+msg.toString());
  //		}
  
  		if (getContext().getQueue() == null) {
  			LOGGER.error("No auditing queue available, unable to send audit message");
  			return;
  		}
  		// Send audit message to repository
  		getContext().getQueue().sendAuditEvent(msg);
  	}
docs: Sends an audit event message to a designated audit record
  repository at the configured hostname and port.  Delivers message to the
  designated audit queue and transport sender (preset in the AuditEventMessage
  instance or by the auditor's configuration).
  
  @param msg Audit message to send to the audit record repository