if (entry instanceof Prim) { this.sfLog=LogFactory.getLog((Prim)entry); } else { this.sfLog=LogFactory.getLog((String)entry); }
this.sfLog=LogFactory.getLog("sfManagementConsole");
    private void initLog (){        try {            if (entry instanceof Prim) {               this.sfLog=LogFactory.getLog((Prim)entry);            } else {               this.sfLog=LogFactory.getLog((String)entry);            }        } catch (Exception e) {            sfLog.error(e);        }    }