You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/05/03 06:52:00 UTC

[jira] [Resolved] (SOLR-12288) Add MDC information to core admin requests

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

Varun Thacker resolved SOLR-12288.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)
                   7.4

> Add MDC information to core admin requests
> ------------------------------------------
>
>                 Key: SOLR-12288
>                 URL: https://issues.apache.org/jira/browse/SOLR-12288
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: logging
>            Reporter: Varun Thacker
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: SOLR-12288.patch
>
>
> If we call a core admin call , logging doesn't mention the core that it's operating on. 
> This can make reading the logs a lot tougher . We should add the core name that we're operating on while executing core admin requests.
> {code:java}
> 12732 INFO (qtp1381501510-36) [n:127.0.0.1:56134_solr x:backuprestore_restored_shard1_replica_n83] o.a.s.h.RestoreCore Copying file segments_1 to restore directory 
> 12732 INFO (qtp2094260422-39) [n:127.0.0.1:56133_solr x:backuprestore_restored_shard2_replica_n81] o.a.s.h.RestoreCore Copying file _0.dii to restore directory 
> {code}
> The core names have been added as part of the patch. Previously they were missing 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org