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

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

Simple patch. I'm assuming {{jetty.port}} and {{solr.install.dir}} are always 
set, and that the presence of either sysprop {{zkHost}} or {{zkRun}} is a 
certain way of detecting Cloud mode.

After reducing more log noise this will be the 2nd line in a fresh {{solr.log}} 
file. Since this log line says almost exactly the same as the echo line from 
the start script when starting in foreground, this patch removes that echo.

Startup will then look like
{noformat}
% bin/solr start -f
162  INFO  (main) [   ] o.e.j.s.Server jetty-9.3.8.v20160314
500  INFO  (main) [   ] o.a.s.s.SolrDispatchFilter Welcome to Apache Solr™ 
version 7.0.0, starting in standalone mode on port 8983 from 
/Users/janhoy/git/lucene-solr/solr
524  INFO  (main) [   ] o.a.s.c.SolrResourceLoader using system property 
solr.solr.home: /Users/janhoy/git/lucene-solr/solr/server/solr
...
{noformat}

Any objections to this approach?

> solr.log should start with informative welcome message
> ------------------------------------------------------
>
>                 Key: SOLR-9548
>                 URL: https://issues.apache.org/jira/browse/SOLR-9548
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Server
>            Reporter: Jan Høydahl
>              Labels: logging
>             Fix For: 6.3, master (7.0)
>
>         Attachments: SOLR-9548.patch
>
>
> When starting Solr, the first log line should be more informative, such as
> {code}
> Welcome to Apache Solr™ version 7.0.0, running in standalone mode on port 
> 8983 from folder /Users/janhoy/git/lucene-solr/solr
> {code}



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

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

Reply via email to