public void logAccessMessage(String msgIdName,String[] data,SSOToken token){
  try {
    getLogMessageProvider();
  }
 catch (  IOException e) {
    logger.error(e.getMessage(),e);
    logger.error("disabling logging");
    logStatus=false;
  }
  if ((accessLogger != null) && (msgProvider != null)) {
    final LogRecord lr=msgProvider.createLogRecord(msgIdName,data,token);
    if (lr != null) {
      final SSOToken ssoToken=AccessController.doPrivileged(AdminTokenAction.getInstance());
      accessLogger.log(lr,ssoToken);
    }
  }
}

public void logAccessMessage ( String msgIdName , String [ ] data , SSOToken token ) { try { getLogMessageProvider ( ) ; } catch ( IOException e ) { logger . error ( e . getMessage ( ) , e ) ; logger . error ( "disabling logging" ) ; logStatus = false ; } if ( ( accessLogger != null ) && ( msgProvider != null ) ) { final LogRecord lr = msgProvider . createLogRecord ( msgIdName , data , token ) ; if ( lr != null ) { final SSOToken ssoToken = AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ; accessLogger . log ( lr , ssoToken ) ; } } }
logs an access message .
