String logname = sfResolve(ATR_LOG, "", true);
String logname = sfResolve(ATR_LOG, "", false);
    protected void readConfiguration() throws SmartFrogException, RemoteException {        try {            String logname = sfResolve(ATR_LOG, "", true);            if (!logname.equals("")){                LogSF logsf = LogFactory.getLog(logname);                if (logsf instanceof LogRegistration) {                    logreg = (LogRegistration) logsf;                }                if (logreg == null) {                    throw new SmartFrogResolutionException("'log' not valid for " + logname + " got " + logsf + "[" + logsf.getClass().getName() + "]");                }            } else {                logreg = (LogRegistration) sfLog();            }        } catch (SmartFrogResolutionException e) {          if (sfLog().isErrorEnabled()) sfLog().error(e);            throw e;        }    }