Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4473

Remove pointless MDC_LOGGING message from logs if there is no custom MDC key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.3
    • None
    • None

    Description

      2023-02-10 12:42:35,251 INFO  [Thread-367] util.LoggingUtils (LoggingUtils.java:initLoggingContext(58)) - MDC_LOGGING: setting up MDC keys: keys: [] / conf: []
      2023-02-10 12:42:35,251 WARN  [Thread-367] util.LoggingUtils (LoggingUtils.java:initLoggingContext(65)) - cannot set mdc key: 
      

      This 2 lines are confusing, keys: [] / conf: [] means we don't use the feature introduced in TEZ-4039 at all

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m