[
https://issues.apache.org/jira/browse/SOLR-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-6673:
----------------------------------------
Attachment: SOLR-6673-log-more.patch
How does this look?
{code}
34093 T174 C:collection1 S:shard1 R:core_node6 c:collection1 C17 P62757
oasup.LogUpdateProcessor.finish [collection1] webapp=/ar path=/update
params={update.distrib=FROMLEADER&distrib.from=http://127.0.0.1:62746/ar/collection1/&wt=javabin&version=2}
{add=[100000478 (1496644420418666496), 100000479 (1496644420419715072)]} 0 1
{code}
This patch logs collection, shard, coreNodeName and core name in tests.
> 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
> Assignee: Noble Paul
> Labels: logging
> Fix For: Trunk, 5.1
>
> Attachments: SOLR-6673-log-more.patch, SOLR-6673.patch,
> SOLR-6673.patch, SOLR-6673.patch, SOLR-6673.patch, SOLR-6673.patch,
> SOLR-6673.patch, SOLR-6673.patch, SOLR-6673.patch, log4j.properties,
> 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]