If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered output Handler objects.
@param msg The string message (or a key in the message catalog)
4647484950515253545556
int total = schedulerCfg!=null? schedulerCfg.getThreadsDefinitions().size(): 0; int scheduled = 0; if (schedulerCfg==null) { logger.severe("Scheduling background threads without thread definition."); } else if (!schedulerCfg.getActive()) { logger.info("Scheduling background threads is not enabled ('active' attribute is set to false)."); } else { _service = schedulerCfg.getService(); for (ThreadDefinition td : schedulerCfg.getThreadsDefinitions()) {
448449450451452453454455456457458
if (throwException) { if (handlerCtx != null) { GuiUtil.handleError(handlerCtx, message); if (!quiet) { Logger logger = GuiUtil.getLogger(); logger.severe(GuiUtil.getCommonMessage("LOG_REQUEST_RESULT", new Object[]{exitCode, endpoint, maskedAttr})); if (logger.isLoggable(Level.FINEST)){ logger.finest("response.getResponseBody(): " + response.getResponseBody()); } } return new HashMap();
461462463464465466467468469470471
throw new RuntimeException(message); } } else { // Issue Number :13312 handling the case when throwException is false. if (!quiet) { Logger logger = GuiUtil.getLogger(); logger.severe(GuiUtil.getCommonMessage("LOG_REQUEST_RESULT", new Object[]{exitCode, endpoint, maskedAttr})); if (logger.isLoggable(Level.FINEST)){ logger.finest("response.getResponseBody(): " + response.getResponseBody()); } } return responseMap;
481482483484485486487488489490491
} } } catch (Exception ex) { if (!quiet) { Logger logger = GuiUtil.getLogger(); logger.severe(GuiUtil.getCommonMessage("LOG_REQUEST_RESULT", new Object[]{exitCode, endpoint, maskedAttr})); if (logger.isLoggable(Level.FINEST)){ logger.finest("response.getResponseBody(): " + response.getResponseBody()); } } if (handlerCtx != null) {
8687888990919293949596
{ L2DatabaseFactory.getInstance(); } catch(SQLException e) { _log.severe("FATAL: Failed initializing database. Reason: " + e.getMessage()); if(Config.LOGIN_DEBUG) { e.printStackTrace(); } Server.exit(1, "FATAL: Failed initializing database. Reason: " + e.getMessage());
99100101102103104105106107108109
{ LoginController.load(); } catch(GeneralSecurityException e) { _log.severe("FATAL: Failed initializing LoginController. Reason: " + e.getMessage()); if(Config.LOGIN_DEBUG) { e.printStackTrace(); } Server.exit(1, "FATAL: Failed initializing LoginController. Reason: " + e.getMessage());
112113114115116117118119120121122
{ GameServerTable.load(); } catch(GeneralSecurityException e) { _log.severe("FATAL: Failed to load GameServerTable. Reason: " + e.getMessage()); if(Config.LOGIN_DEBUG) { e.printStackTrace(); } Server.exit(1, "FATAL: Failed to load GameServerTable. Reason: " + e.getMessage());