* Serverstart - Show some server settings in the log.

This commit is contained in:
LevelX2 2014-02-10 17:11:10 +01:00
parent efb664c743
commit e672e63736

View file

@ -123,6 +123,12 @@ public class Main {
adminPassword = SystemUtil.sanitize(adminPassword); adminPassword = SystemUtil.sanitize(adminPassword);
} }
} }
logger.info("Config - max seconds idle: " + config.getMaxSecondsIdle());
logger.info("Config - max game threads: " + config.getMaxGameThreads());
logger.info("Config - max AI opponents: " + config.getMaxAiOpponents());
logger.info("Config - save game active: " + (config.isSaveGameActivated() ? "True":"false"));
Connection connection = new Connection(); Connection connection = new Connection();
connection.setHost(config.getServerAddress()); connection.setHost(config.getServerAddress());
connection.setPort(config.getPort()); connection.setPort(config.getPort());