From e867c9342218a17987a94c2801ab7ab28b315912 Mon Sep 17 00:00:00 2001 From: fjy Date: Wed, 9 Apr 2014 09:55:12 -0700 Subject: [PATCH] turn down too much logging; gp --- .../io/druid/server/router/TieredBrokerHostSelector.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/io/druid/server/router/TieredBrokerHostSelector.java b/server/src/main/java/io/druid/server/router/TieredBrokerHostSelector.java index cc625cdc5a3..9e5db5084eb 100644 --- a/server/src/main/java/io/druid/server/router/TieredBrokerHostSelector.java +++ b/server/src/main/java/io/druid/server/router/TieredBrokerHostSelector.java @@ -170,23 +170,23 @@ public class TieredBrokerHostSelector implements HostSelector } 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()); }