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

Mark Miller commented on SOLR-6673:
-----------------------------------

bq. I don't really like using caps for the label distinction.

I still see this in the tests, hadn't looked to see what production is yet - 
looks really ugly in my opinion.

{noformat}
22369 T48 N:127.0.0.1:49464__ c:collection1 C12 
oasup.DocExpirationUpdateProcessorFactory$DeleteExpiredDocsRunnable.run 
22685 T34 N:127.0.0.1:49464__ C:control_collection S:shard1 R:core_node1 
c:collection1 
{noformat}

Really ugly stuff we should change IMO.

> 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, SOLR-6673_NPE_fix.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]

Reply via email to