Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31970

Make MDC configuration step be consistent between setLocalProperty and log4j.properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • Spark Core
    • None

    Description

      It's weird that we use "mdc.XXX" as key to set MDC value via `setLocalProperty` while we use "XXX" as key to set MDC pattern in log4j.properties.

      Attachments

        Issue Links

          Activity

            People

              Ngone51 wuyi
              Ngone51 wuyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: