You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2021/11/10 23:31:00 UTC

[jira] [Created] (SOLR-15790) Populate MDC with rid (CommonParams.REQUEST_ID)

Chris M. Hostetter created SOLR-15790:
-----------------------------------------

             Summary: Populate MDC with rid (CommonParams.REQUEST_ID)
                 Key: SOLR-15790
                 URL: https://issues.apache.org/jira/browse/SOLR-15790
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter
            Assignee: Chris M. Hostetter



The 'rid' request param for coordinating requests (and distributed requests) based on a user assigned ID is useful, but is only logged as part of the Request logging -- It would be more useful if it was tracked in the MDC for request threads so that it could be consulted anytime WARN or ERROR messages are logged.

(The "workaround" w/o this info in the MDC is to correlate the thread_id from a WARN/ERROR message with the "next" INFO message from the Request Logger by the same thread -- but that requires having INFO level logging turned on for the Request Logger ... something that isn't always desirable in high volume situations)




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org