You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2016/09/20 13:19:20 UTC

[jira] [Updated] (SOLR-6677) reduce logging during Solr startup

     [ https://issues.apache.org/jira/browse/SOLR-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-6677:
------------------------------
    Attachment: SOLR-6677.patch

First patch, moving many unhelpful INFO logs to DEBUG level as well as reducing Jetty logging.

With this patch, the {{bin/solr start -f}} shrinks from 31 to 13 lines (11 if applied on top of SOLR-8186 and SOLR-9534):
{noformat}
Starting Solr on port 8983 from /Users/janhoy/git/lucene-solr/solr/server

0    INFO  (main) [   ] o.e.j.s.Server jetty-9.3.8.v20160314
311  INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /Users/janhoy/git/lucene-solr/solr/server/solr
311  INFO  (main) [   ] o.a.s.c.SolrResourceLoader new SolrResourceLoader for directory: '/Users/janhoy/git/lucene-solr/solr/server/solr'
316  INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /Users/janhoy/git/lucene-solr/solr/server/solr/solr.xml
424  WARN  (main) [   ] o.a.s.c.CoreContainer Couldn't add files from /Users/janhoy/git/lucene-solr/solr/server/solr/lib to classpath: /Users/janhoy/git/lucene-solr/solr/server/solr/lib
744  INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /Users/janhoy/git/lucene-solr/solr/server/solr
749  INFO  (main) [   ] o.a.s.s.SolrDispatchFilter SolrDispatchFilter.init() done
761  INFO  (main) [   ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@6536e911{/solr,file:///Users/janhoy/git/lucene-solr/solr/server/solr-webapp/webapp/,AVAILABLE}{/Users/janhoy/git/lucene-solr/solr/server/solr-webapp/webapp}
774  INFO  (main) [   ] o.e.j.s.ServerConnector Started ServerConnector@5609159b{HTTP/1.1,[http/1.1]}{0.0.0.0:8983}
775  INFO  (main) [   ] o.e.j.s.Server Started @1310ms
{noformat}

Likewise the {{bin/solr create -c foo}} logs shrink from 129 lines to 50 lines!

Still WorkInProgress. Would be good with some confirmation that I'm on the right track here.

> reduce logging during Solr startup
> ----------------------------------
>
>                 Key: SOLR-6677
>                 URL: https://issues.apache.org/jira/browse/SOLR-6677
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>         Attachments: SOLR-6677.patch
>
>
> most of what is printed is neither helpful nor useful. It's just noise



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org