mirror of https://github.com/apache/lucene.git
Revert "SOLR-11795: avoid using static class name for logger"
This reverts commit a31a8dae2e
.
This commit is contained in:
parent
a31a8dae2e
commit
74793a9134
|
@ -53,7 +53,7 @@ import java.util.concurrent.TimeUnit;
|
|||
* SolrCollector
|
||||
*/
|
||||
public class SolrCollector extends Collector implements Collector.Describable {
|
||||
private static final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger logger = LoggerFactory.getLogger(SolrCollector.class);
|
||||
|
||||
private SolrClient solrClient;
|
||||
private SolrCollectorConfig config = new SolrCollectorConfig();
|
||||
|
|
|
@ -49,7 +49,7 @@ import java.util.regex.Pattern;
|
|||
* SolrExporter
|
||||
*/
|
||||
public class SolrExporter {
|
||||
private static final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger logger = LoggerFactory.getLogger(SolrExporter.class);
|
||||
|
||||
private static final String[] ARG_PORT_FLAGS = { "-p", "--port" };
|
||||
private static final String ARG_PORT_METAVAR = "PORT";
|
||||
|
|
|
@ -46,7 +46,7 @@ import java.util.concurrent.Callable;
|
|||
* SolrScraper
|
||||
*/
|
||||
public class SolrScraper implements Callable<Map<String, Collector.MetricFamilySamples>> {
|
||||
private static final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
private static final Logger logger = LoggerFactory.getLogger(SolrScraper.class);
|
||||
|
||||
private SolrClient solrClient;
|
||||
private SolrScraperConfig scraperConfig;
|
||||
|
|
Loading…
Reference in New Issue