You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2015/04/09 07:24:14 UTC

[jira] [Updated] (SOLR-6673) MDC based logging of collection, shard etc.

     [ https://issues.apache.org/jira/browse/SOLR-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ishan Chattopadhyaya updated SOLR-6673:
---------------------------------------
    Priority: Blocker  (was: Major)

The log4j.properties in solr/server/resources/log4j.properties still has [] [] [] [] like stamping, which would get used in production logs for users. Based on discussion above, I'm marking this as a blocker for 5.1, until we have a fix for that.

> 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
>            Priority: Blocker
>              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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org