mirror of https://github.com/apache/druid.git
Reduce the spam in broker logs (#14368)
This commit is contained in:
parent
7fd215b2e7
commit
139156cf6b
|
@ -235,12 +235,14 @@ public class TieredBrokerHostSelector
|
|||
}
|
||||
|
||||
if (brokerServiceName == null) {
|
||||
log.error(
|
||||
"No brokerServiceName found for datasource[%s], intervals[%s]. Using default[%s].",
|
||||
if (query.context().isDebug()) {
|
||||
log.info(
|
||||
"Using default broker service[%s] for query with datasource [%s] and intervals[%s].",
|
||||
tierConfig.getDefaultBrokerServiceName(),
|
||||
query.getDataSource(),
|
||||
query.getIntervals(),
|
||||
tierConfig.getDefaultBrokerServiceName()
|
||||
query.getIntervals()
|
||||
);
|
||||
}
|
||||
brokerServiceName = tierConfig.getDefaultBrokerServiceName();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue