public void initializeKeyStore(){
  try {
    Logger logger=(com.sun.identity.log.Logger)Logger.getLogger(logName);
    resetCurrentFileList(logName);
    addToCurrentFileList(logName,logName,logName);
    String logPath=lmanager.getProperty(LogConstants.LOG_LOCATION);
    if (!logPath.endsWith("/"))     logPath+="/";
    String fileName=logName;
    String loggerFileName=logPath + PREFIX + "log."+ fileName;
    String verifierFileName=logPath + PREFIX + "ver."+ fileName;
    Debug.message(logName + ":Logger Keystore name = " + loggerFileName);
    Debug.message(logName + ":Verifier Keystore name= " + verifierFileName);
    helper.initializeSecureLogHelper(loggerFileName,logPassword,verifierFileName,logPassword);
    Debug.message(logName + ":Initialized SecureLogHelper");
    helper.initializeVerifier(verifierFileName,logPassword,verPassword);
    Debug.message(logName + ":Done init of SecureLogHelper and Verifier");
  }
 catch (  Exception e) {
    Debug.error(logName + ":Logger: exception thrown while initializing secure logger",e);
  }
}

public void initializeKeyStore ( ) { try { Logger logger = ( com . sun . identity . log . Logger ) Logger . getLogger ( logName ) ; resetCurrentFileList ( logName ) ; addToCurrentFileList ( logName , logName , logName ) ; String logPath = lmanager . getProperty ( LogConstants . LOG_LOCATION ) ; if ( ! logPath . endsWith ( "/" ) ) logPath += "/" ; String fileName = logName ; String loggerFileName = logPath + PREFIX + "log." + fileName ; String verifierFileName = logPath + PREFIX + "ver." + fileName ; Debug . message ( logName + ":Logger Keystore name = " + loggerFileName ) ; Debug . message ( logName + ":Verifier Keystore name= " + verifierFileName ) ; helper . initializeSecureLogHelper ( loggerFileName , logPassword , verifierFileName , logPassword ) ; Debug . message ( logName + ":Initialized SecureLogHelper" ) ; helper . initializeVerifier ( verifierFileName , logPassword , verPassword ) ; Debug . message ( logName + ":Done init of SecureLogHelper and Verifier" ) ; } catch ( Exception e ) { Debug . error ( logName + ":Logger: exception thrown while initializing secure logger" , e ) ; } }
initialize logger key store
