You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by er...@apache.org on 2020/05/13 16:36:10 UTC

[lucene-solr] branch branch_8x updated: SOLR-11934: Visit Solr logging, it's too noisy. (added collection to log messages 'Registered new searcher...'

This is an automated email from the ASF dual-hosted git repository.

erick pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new d992d0a  SOLR-11934: Visit Solr logging, it's too noisy. (added collection to log messages 'Registered new searcher...'
d992d0a is described below

commit d992d0a059e1a5ff52b27c4c20af90a386e2727c
Author: Erick Erickson <Er...@gmail.com>
AuthorDate: Wed May 13 12:34:45 2020 -0400

    SOLR-11934: Visit Solr logging, it's too noisy. (added collection to log messages 'Registered new searcher...'
    
    (cherry picked from commit e4dc9e9401ed077101672b19171304e59bb7b4f6)
---
 solr/core/src/java/org/apache/solr/core/SolrCore.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java
index d7791c6..9ce4b2f 100644
--- a/solr/core/src/java/org/apache/solr/core/SolrCore.java
+++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java
@@ -2542,7 +2542,9 @@ public final class SolrCore implements SolrInfoBean, SolrMetricProducer, Closeab
         newSearcher.register(); // register subitems (caches)
 
         if (log.isInfoEnabled()) {
-          log.info("{} Registered new searcher autowarm time: {} ms", logid, newSearcher.getWarmupTime());
+          log.info("{} Registered new searcher autowarm time: {} ms: Collection: '{}'"
+              , logid, newSearcher.getWarmupTime()
+              , newSearcher.getCore().getCoreDescriptor().getCollectionName());
         }
 
       } catch (Exception e) {