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

ASF subversion and git services commented on SOLR-14686:
--------------------------------------------------------

Commit 39afc99deea031c454b3b87ba8ff29c382f9dcbd in solr's branch 
refs/heads/jira/SOLR15715 from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=39afc99 ]

SOLR-14686: Logs: Remove log "[coreName]" in SolrCore which is redundant with 
MDC (#517)

Also, ensured any problems in SolrCore.close has MDC info in logs.

> Remove log "[coreName]" (logid) which is redundant with MDC
> -----------------------------------------------------------
>
>                 Key: SOLR-14686
>                 URL: https://issues.apache.org/jira/browse/SOLR-14686
>             Project: Solr
>          Issue Type: Improvement
>          Components: logging
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> SolrCore.logid is used mostly by some log statements within SolrCore to log 
> the core name at the start of some (not all) log messages.  It pre-dated MDC 
> and I believe it's basically obsolete now, and contributes to needless 
> logging verbosity.  The info levels where this appears if for opening a new 
> SolrCore, closing a SolrCore, registering a new searcher, and it's in the 
> "requestLog" and thus will show up once for any HTTP request into a core 
> (e.g. select, update, etc.).  So removing this will disturb anyone parsing 
> Solr's logs.  Maybe this should wait till 9.0?
> There is _some_ value still because for cross-core join query, any pertinent 
> log statements  on the "fromIndex" would ideally be reported against that 
> core and not the toIndex.  That seems too minor to keep this old stuff around 
> for though.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to