- if ((xmlConfiguration != null) && (configuration != xmlConfiguration)) {
- core.setConfiguration(xmlConfiguration);
+ if ((newConfiguration != null) && (oldConfiguration != newConfiguration)) {
+ logger.log(Level.INFO, "Setting configuration to file-based configuration.");
+ core.setConfiguration(newConfiguration);