Varun Thacker created SOLR-12288:
------------------------------------

             Summary: 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)
            Reporter: Varun Thacker


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to