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

Robert Muir commented on SOLR-5021:
-----------------------------------

A few things:

TP messages are only called from assert! They are a hack for indexwriter tests 
(not for users). See LUCENE-5039 for what i mean.

So i discarded them (also for lucene tests!), because otherwise, infostream is 
useless when working with unit tests.

Bottom line, i dont think anyone (humans or machines) want to see TP messages, 
only lucene's TestIndexWriterExceptions

                
> LoggingInfoStream should log TP messages using TRACE level
> ----------------------------------------------------------
>
>                 Key: SOLR-5021
>                 URL: https://issues.apache.org/jira/browse/SOLR-5021
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>
> SOLR-4977 added an awesome new LoggingInfoStream class, and wisely it does 
> not output "TP" category messages because it logs everything at the INFO 
> level -- but we could improve this to log TP messages at the TRACE level (and 
> check if TRACE is enabled when ased if isEnabled("TP").
> That way people who do/don't want to see all the TP messages could control 
> that based on whether the LoggingInfoStream logger level was set to 
> allow/filter TRACE level log messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to