turn down too much logging; gp

This commit is contained in:
fjy 2014-04-09 09:55:12 -07:00
parent 6209803d50
commit e867c93422
1 changed files with 4 additions and 4 deletions

View File

@ -170,23 +170,23 @@ public class TieredBrokerHostSelector<T> implements HostSelector<T>
}
if (brokerServiceName == null) {
log.makeAlert(
log.error(
"WTF?! No brokerServiceName found for datasource[%s], intervals[%s]. Using default[%s].",
query.getDataSource(),
query.getIntervals(),
tierConfig.getDefaultBrokerServiceName()
).emit();
);
brokerServiceName = tierConfig.getDefaultBrokerServiceName();
}
ServerDiscoverySelector retVal = selectorMap.get(brokerServiceName);
if (retVal == null) {
log.makeAlert(
log.error(
"WTF?! No selector found for brokerServiceName[%s]. Using default selector for[%s]",
brokerServiceName,
tierConfig.getDefaultBrokerServiceName()
).emit();
);
retVal = selectorMap.get(tierConfig.getDefaultBrokerServiceName());
}