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

Tomás Fernández Löbbe commented on SOLR-11745:
----------------------------------------------

I believe logging "this" may be intentional, to track a particular instance of 
SolrCore. Different SolrCore can have the same name (i.e., a core reload) but 
they won't have the same ID. The name is also useful, but I believe it's 
included in the "logid", and also in the MDC context already.

> SolrCore doesn't log core if too many closes called on it
> ---------------------------------------------------------
>
>                 Key: SOLR-11745
>                 URL: https://issues.apache.org/jira/browse/SOLR-11745
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: logging
>    Affects Versions: 7.1
>            Reporter: Jeff Miller
>            Priority: Trivial
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
>       log.error("Too many close [count:{}] on {}. Please report this 
> exception to [email protected]", count, this );
> Calling this just prints
> org.apache.solr.core.SolrCore@4812a0d7
> Suggest changing to getName



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

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

Reply via email to