Tuple<Settings, Environment> tuple = InternalSettingsPreparer.prepareSettings(EMPTY_SETTINGS);
if (ServiceFramwork.mode.equals(ServiceFramwork.Mode.development)) {
ServiceFramwork.mode = ServiceFramwork.Mode.valueOf(tuple.v1().get("mode"));
}
Settings settings = tuple.v1();
boolean disableMysql = settings.getAsBoolean(ServiceFramwork.mode + ".datasources.mysql.disable", false);
boolean disableMongo = settings.getAsBoolean(ServiceFramwork.mode + ".datasources.mongodb.disable", false);
boolean disableHttp = settings.getAsBoolean("http.disable", false);
boolean disableThrift = settings.getAsBoolean("thrift.disable", true);
Loader loggerLoader = new LoggerLoader();
loggerLoader.load(settings);