lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [32/36] lucene-solr:jira/http2: SOLR-12558: solr/core (private) logger rename - JettySolrRunner
Date Tue, 31 Jul 2018 02:32:48 GMT
SOLR-12558: solr/core (private) logger rename - JettySolrRunner


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e1063b7f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e1063b7f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e1063b7f

Branch: refs/heads/jira/http2
Commit: e1063b7f4b545b8d9f82998d0a092a389bbff188
Parents: 61e89e3
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Mon Jul 30 18:46:12 2018 +0100
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Mon Jul 30 18:46:12 2018 +0100

----------------------------------------------------------------------
 .../solr/client/solrj/embedded/JettySolrRunner.java       | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e1063b7f/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
b/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
index 23a8dc1..14f4dc9 100644
--- a/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
+++ b/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
@@ -72,7 +72,7 @@ import org.slf4j.MDC;
  */
 public class JettySolrRunner {
 
-  private static final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
+  private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
   private static final int THREAD_POOL_MAX_THREADS = 10000;
   // NOTE: needs to be larger than SolrHttpClient.threadPoolSweeperMaxIdleTime
@@ -145,20 +145,20 @@ public class JettySolrRunner {
     private void executeDelay() {
       int delayMs = 0;
       for (Delay delay: delays) {
-        log.info("Delaying "+delay.delayValue+", for reason: "+delay.reason);
+        this.log.info("Delaying "+delay.delayValue+", for reason: "+delay.reason);
         if (delay.counter.decrementAndGet() == 0) {
           delayMs += delay.delayValue;
         }        
       }
 
       if (delayMs > 0) {
-        log.info("Pausing this socket connection for " + delayMs + "ms...");
+        this.log.info("Pausing this socket connection for " + delayMs + "ms...");
         try {
           Thread.sleep(delayMs);
         } catch (InterruptedException e) {
           throw new RuntimeException(e);
         }
-        log.info("Waking up after the delay of " + delayMs + "ms...");
+        this.log.info("Waking up after the delay of " + delayMs + "ms...");
       }
     }
 
@@ -289,7 +289,7 @@ public class JettySolrRunner {
         root.getServletContext().setAttribute(SolrDispatchFilter.PROPERTIES_ATTRIBUTE, nodeProperties);
         root.getServletContext().setAttribute(SolrDispatchFilter.SOLRHOME_ATTRIBUTE, solrHome);
 
-        logger.info("Jetty properties: {}", nodeProperties);
+        log.info("Jetty properties: {}", nodeProperties);
 
         debugFilter = root.addFilter(DebugFilter.class, "*", EnumSet.of(DispatcherType.REQUEST)
);
         extraFilters = new LinkedList<>();


Mime
View raw message