public void access(Level level,String messageId,String data[],Object session,Map props) throws LogException {
  if (isAccessLoggable(level)) {
    SSOToken authSSOToken=(SSOToken)AccessController.doPrivileged(AdminTokenAction.getInstance());
    LogRecord lr=getLogRecord(messageId,data,session,props,authSSOToken);
    if (lr != null) {
      accessLogger.log(lr,authSSOToken);
    }
  }
}

public void access ( Level level , String messageId , String data [ ] , Object session , Map props ) throws LogException { if ( isAccessLoggable ( level ) ) { SSOToken authSSOToken = ( SSOToken ) AccessController . doPrivileged ( AdminTokenAction . getInstance ( ) ) ; LogRecord lr = getLogRecord ( messageId , data , session , props , authSSOToken ) ; if ( lr != null ) { accessLogger . log ( lr , authSSOToken ) ; } } }
writes access to a component into a log .
