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

MDC based logging of collection, shard etc.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: None
    • Labels:

      Description

      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

        Attachments

        1. log4j.properties
          2 kB
          Ishan Chattopadhyaya
        2. log4j.properties
          1 kB
          Ishan Chattopadhyaya
        3. SOLR-6673_NPE_fix.patch
          0.6 kB
          Ishan Chattopadhyaya
        4. SOLR-6673.patch
          91 kB
          Ishan Chattopadhyaya
        5. SOLR-6673.patch
          93 kB
          Ishan Chattopadhyaya
        6. SOLR-6673.patch
          94 kB
          Ishan Chattopadhyaya
        7. SOLR-6673.patch
          39 kB
          Ishan Chattopadhyaya
        8. SOLR-6673.patch
          14 kB
          Ishan Chattopadhyaya
        9. SOLR-6673.patch
          15 kB
          Ishan Chattopadhyaya
        10. SOLR-6673.patch
          13 kB
          Ishan Chattopadhyaya
        11. SOLR-6673.patch
          15 kB
          Ishan Chattopadhyaya
        12. SOLR-6673-log-more.patch
          4 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                ichattopadhyaya Ishan Chattopadhyaya
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: