Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47240 SPIP: Structured Logging Framework for Apache Spark
  3. SPARK-47688

Support `three` methods of the log `concatenation` in the `structured logging framework`

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • Spark Core

    Description

      Allow log syntax like

      • 1.log"... MDC(...) $normal_variables ..."
        log"Driver terminated with exit code ${MDC(EXIT_CODE, exitCode)}! Shutting down. $remoteAddress"
        
      • 2.s"... $normal_variables ..." ++ log"... MDC(...) ..."
        log"Driver terminated with exit code ${MDC(EXIT_CODE, exitCode)}! Shutting down." ++ s"$remoteAddress"
        
      • 3.log"... MDC(...) ..." ++ s"... $normal_variables ..."
        s"$remoteAddress" ++ log"Driver terminated with exit code ${MDC(EXIT_CODE, exitCode)}! Shutting down."
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              panbingkun BingKun Pan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: