cat.info(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] +  ", " + LogEntry.EVENTNAMES_INFO[event] + ", Administrator : " +
log.info(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] +  ", " + LogEntry.EVENTNAMES_INFO[event] + ", Administrator : " +
    public void log(Admin admininfo, int module, Date time, String username, X509Certificate certificate, int event, String comment){       String user  = "No User Involved";       String cert  = "No Certificate Involved";              String admin = "Administrator not known";              if(username != null)         user = username;              if (certificate != null)         cert = certificate.getSerialNumber().toString(16);              if(admininfo.getAdminType() == Admin.TYPE_CLIENTCERT_USER)          admin = Admin.ADMINTYPETEXTS[Admin.TYPE_CLIENTCERT_USER] + ", Certificate SNR : " + admininfo.getAdminData();       else         if(admininfo.getAdminType() == Admin.TYPE_PUBLIC_WEB_USER){            if(admininfo.getAdminData() != null){              if(!admininfo.getAdminData().equals(""))                  admin = Admin.ADMINTYPETEXTS[Admin.TYPE_PUBLIC_WEB_USER]  + ", IP Address : " + admininfo.getAdminData();                          }                else              admin = Admin.ADMINTYPETEXTS[Admin.TYPE_PUBLIC_WEB_USER];                         }else            admin = Admin.ADMINTYPETEXTS[admininfo.getAdminType()];                       if(event < LogEntry.EVENT_ERROR_BOUNDRARY){         // Do Log4j Informational logging.                      cat.info(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] +  ", " + LogEntry.EVENTNAMES_INFO[event] + ", Administrator : " +                   admin + ", User : " + user + ", Certificate : " + cert + ", Comment : " + comment);         }       else{         // Do Log4j error logging.            cat.error(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] + ", " + LogEntry.EVENTNAMES_ERROR[event - LogEntry.EVENT_ERROR_BOUNDRARY] + ", Administrator : " +                    admin + ", User : " + user + ", Certificate : " + cert + ", Comment : " + comment);         }        }