Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15790

Populate MDC with rid (CommonParams.REQUEST_ID)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      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)

      Attachments

        1. SOLR-15790-1.patch
          15 kB
          Chris M. Hostetter
        2. SOLR-15790.patch
          15 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: