LogSF sflog = LogFactory.getLog("SFManagamentConsole");
LogSF sflog = LogFactory.getLog("sfManagementConsole");
   public static void main(String[] args) throws Exception {      //Init system      org.smartfrog.SFSystem.initSystem();      //Logger.log("Starting management window...");      LogSF sflog = LogFactory.getLog("SFManagamentConsole");      sflog.out("Starting management window...");      String nameDisplay = "sfManagementConsole";      int height = 440;      int width = 600;      OptionSet opts = new OptionSet(args);      if (opts.errorString != null) {         exitWith(opts.errorString, opts.exitCode);      }      final boolean showRootProcess = opts.showRootProcess;      final boolean showCDasChild = opts.showCDasChild;      final String hostname = opts.host;      final int port = opts.port;      String positionDisplay = opts.windowPosition;      try {         startConsole(nameDisplay, height, width, positionDisplay,               showRootProcess,showCDasChild, hostname, port, true);      } catch (java.net.UnknownHostException uex) {         exitWith("Error: Unknown host.", ExitCodes.EXIT_ERROR_CODE_GENERAL);      } catch (java.rmi.ConnectException cex) {         exitWith("Error: " + cex.getMessage(), ExitCodes.EXIT_ERROR_CODE_GENERAL);      } catch (Exception e) {         LogFactory.getLog(SFDeployDisplay.class).error("Error in SFDeployDisplay.main():" + e,e);         exitWith("Error in SFDeployDisplay.main():" + e, ExitCodes.EXIT_ERROR_CODE_GENERAL);      }      sflog.out("Running.");   }