ConfigurationFactory configurationFactory = builder.build();
if (logging != null) {
// initialize logging
log.info("Initializing logging");
LoggingConfiguration configuration = configurationFactory.build(LoggingConfiguration.class);
logging.configure(configuration);
}
// create warning logger now that we have logging initialized
final List<String> warnings = new ArrayList<>();