[
https://issues.apache.org/jira/browse/SPARK-47688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
BingKun Pan updated SPARK-47688:
--------------------------------
Summary: Support `three` methods of the log `concatenation` in the
`structured logging framework` (was: Support `three` types of the log
`concatenation` in the `structured logging framework`)
> Support `three` methods of the log `concatenation` in the `structured logging
> framework`
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-47688
> URL: https://issues.apache.org/jira/browse/SPARK-47688
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: BingKun Pan
> Priority: Major
> Labels: pull-request-available
>
> Allow log syntax like
> - 1.log"... MDC(...) $normal_variables ..."
> {code:java}
> log"Driver terminated with exit code ${MDC(EXIT_CODE, exitCode)}! Shutting
> down. $remoteAddress"
> {code}
> - 2.s"... $normal_variables ..." ++ log"... MDC(...) ..."
> {code:java}
> log"Driver terminated with exit code ${MDC(EXIT_CODE, exitCode)}! Shutting
> down." ++ s"$remoteAddress"
> {code}
> - 3.log"... MDC(...) ..." ++ s"... $normal_variables ..."
> {code:java}
> s"$remoteAddress" ++ log"Driver terminated with exit code ${MDC(EXIT_CODE,
> exitCode)}! Shutting down."
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]