this.queryLogger = Loggers.getLogger(logger, ".query");
this.fetchLogger = Loggers.getLogger(logger, ".fetch");
queryLogger.setLevel(level);
fetchLogger.setLevel(level);
indexSettingsService.addListener(new ApplySettings());
<BUG>}
private long parseTimeSetting(String name, long defaultNanos) {
try {
return componentSettings.getAsTime(name, TimeValue.timeValueNanos(defaultNanos)).nanos();
} catch (ElasticSearchParseException e) {
logger.error("Could not parse setting for [{}], disabling", name);
return -1;
}</BUG>
}

this.queryLogger = Loggers.getLogger(logger, ".query");
this.fetchLogger = Loggers.getLogger(logger, ".fetch");
queryLogger.setLevel(level);
fetchLogger.setLevel(level);
indexSettingsService.addListener(new ApplySettings());
}
