[
https://issues.apache.org/jira/browse/SOLR-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196318#comment-14196318
]
Ishan Chattopadhyaya commented on SOLR-6673:
--------------------------------------------
[[email protected]] Thanks for the pointer, I had a look at it in some places.
There were some places where I thought having a RequestInfo would be difficult,
and MDC would be easier to populate in such cases. Do you think for a start it
would be okay for both MDC and RequestInfo based logging to coexist, and later
we phase out one or the other as we go along?
> MDC based logging of collection, shard etc.
> -------------------------------------------
>
> Key: SOLR-6673
> URL: https://issues.apache.org/jira/browse/SOLR-6673
> Project: Solr
> Issue Type: Improvement
> Reporter: Ishan Chattopadhyaya
> Labels: logging
> Attachments: SOLR-6673.patch, log4j.properties
>
>
> In cloud mode, the many log items don't contain the collection name, shard
> name, core name etc. Debugging becomes specially difficult when many
> collections/shards are hosted on the same node.
> The proposed solution adds MDC based stamping of collection, shard, core to
> the thread.
> See also: SOLR-5969, SOLR-5277
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]