if (sflog().isIgnoreEnabled()){
if (sflog().isIgnoreEnabled() && cfgDesc.resultException!=null){
    public void execute(String args[]) {        //First thing first: system gets initialized        try {            initSystem();        } catch (Exception ex) {            try {                if (sflog().isErrorEnabled()) {                    sflog().error(ex);                }            } catch (Exception ex1) {ex1.printStackTrace();}            exitWithError();        }        setRootProcess(null);        showVersionInfo();        OptionSet opts = new OptionSet(args);        if (opts.errorString != null) {            sflog().out(opts.errorString);            exitWithError();        }        try {            setRootProcess(runSmartFrog(opts.cfgDescriptors));        } catch (SmartFrogException sfex) {            sflog().out(sfex);            if (Logger.logStackTrace){ printStackTrace(sfex); }            exitWithError();        } catch (UnknownHostException uhex) {            sflog().err(MessageUtil.formatMessage(MSG_UNKNOWN_HOST, opts.host), uhex);            if (Logger.logStackTrace){ printStackTrace(uhex); }            exitWithError();        } catch (ConnectException cex) {            sflog().err(MessageUtil.formatMessage(MSG_CONNECT_ERR, opts.host), cex);            if (Logger.logStackTrace){ printStackTrace(cex); }            exitWithError();        } catch (RemoteException rmiEx) {            // log stack trace            sflog().err(MessageUtil.formatMessage(MSG_REMOTE_CONNECT_ERR,                    opts.host), rmiEx);            if (Logger.logStackTrace){ printStackTrace(rmiEx); }            exitWithError();        } catch (Exception ex) {            //log stack trace            sflog().err(MessageUtil.                    formatMessage(MSG_UNHANDLED_EXCEPTION), ex);            if (Logger.logStackTrace){ printStackTrace(ex); }            exitWithError();        }        //Report Actions successes of failures.         boolean somethingFailed = false;         ConfigurationDescriptor cfgDesc = null;         for (Enumeration items = opts.cfgDescriptors.elements();              items.hasMoreElements(); ) {             cfgDesc = (ConfigurationDescriptor)items.nextElement();             if (cfgDesc.getResultType()==ConfigurationDescriptor.Result.FAILED) {                 somethingFailed = true;             }             sflog().out(" - "+(cfgDesc).statusString()+"\n");             //Logger.logQuietly(cfgDesc.resultException);             if (sflog().isIgnoreEnabled()){               sflog().ignore(cfgDesc.resultException);            }         }        // Check for exit flag        if (opts.exit) {            exitWithStatus(somethingFailed);        } else {            //sflog().out(MessageUtil.formatMessage(MSG_SF_READY));            if (true) {                String name = "";                int port =0;                try {                    if (rootProcess != null) {                        name = rootProcess.sfResolve(SmartFrogCoreKeys.SF_PROCESS_NAME, name, false);                        port = rootProcess.sfResolve(SmartFrogCoreKeys.SF_ROOT_LOCATOR_PORT, port, false);                    }                } catch (Exception ex) {                    //ignore.                }                sflog().out(MessageUtil.formatMessage(MSG_SF_READY, "[" + name + ":"+ port+"]") + " " + new Date(System.currentTimeMillis()));            } else {                sflog().out(MessageUtil.formatMessage(MSG_SF_READY, ""));            }        }    }