You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2018/03/31 17:13:00 UTC

[jira] [Commented] (SOLR-12173) Create or improve "Solr startup complete" log message

    [ https://issues.apache.org/jira/browse/SOLR-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421403#comment-16421403 ] 

Shawn Heisey commented on SOLR-12173:
-------------------------------------

There might already be a logging event for this, but I haven't checked yet.  If it's there, then it should be modified to include the elapsed time figures.

Topic for discussion:  Should the event be logged at WARN so that users who lower their default logging level can also see this log entry?  It's not actually a warning.


> Create or improve "Solr startup complete" log message
> -----------------------------------------------------
>
>                 Key: SOLR-12173
>                 URL: https://issues.apache.org/jira/browse/SOLR-12173
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: logging
>    Affects Versions: 7.3
>            Reporter: Shawn Heisey
>            Priority: Trivial
>
> Solr should log an event indicating when startup is complete, with a logger name or a text string that is unique so we can search a log for this event.  The time to log this is when all cores are loaded/started (or inventoried for lotsOfCores functionality), cloud information is examined and cached as required, background threads started, etc.
> The log message should included JVM uptime and elapsed time since webapp startup.
> If somebody were to hot-deploy Solr into a running container, the JVM uptime would not be useful information.  That should not be common, though.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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