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

Shawn Heisey commented on SOLR-6677:
------------------------------------

Good idea.

I think a lot of what gets logged during startup and shutdown is kinda 
worthless.  I would rather just see single-line messages about major milestones 
(jars A through Z loaded, core XXX initialized, etc) at the INFO level.  ERROR 
and WARN messages would be unchanged.

Some examination would need to be performed to decide whether any of those 
messages are generally useful if the system is NOT starting up or shutting down.

I can see two solutions, and can imagine both being used:

 * Move the verbose stuff to DEBUG or TRACE, and ask users to increase their 
logging if we need to see those logs to figure out a problem.
 * Create a SolrCore level flag (maybe even two flags) to indicate 
startup/shutdown is in progress, and suppress certain logs when the flag is 
enabled.  Create a solr.xml config parameter to output the log messages anyway, 
regardless of the the flag.

Changing the level of the logs is easier, and would help out with logging in 
more situations than just startup/shutdown.  That approach is probably 
sufficient, but I do wonder if any of those logs might be generally useful when 
a startup/shutdown is NOT in progress.


> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to