LogSF log  = (LogSF)loggers.get(name); if (log!=null) { return log;
LogSF log=null; try { final Reference completeName = prim.sfCompleteName();  log = (LogSF)loggers.get(completeName);  if (log!=null) { return log; }  log = new LogImpl (completeName.toString());  loggers.put(prim, log); } catch (RemoteException e){ throw (SmartFrogLogException)SmartFrogLogException.forward(e);
    public static synchronized LogSF getLog(String name)    {        LogSF log  = (LogSF)loggers.get(name);        if (log!=null) {            return log;        }        log = (LogSF)(new LogImpl(name));        loggers.put(name, log);        if ((log!=null)&&log.isTraceEnabled()) log.trace("New log created: "+ name);        return log;    }