gengliangwang commented on code in PR #46494:
URL: https://github.com/apache/spark/pull/46494#discussion_r1599216897


##########
core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala:
##########
@@ -100,7 +99,7 @@ private[deploy] class SparkSubmitArguments(args: 
Seq[String], env: Map[String, S
       // Property files may contain sensitive information, so redact before 
printing
       if (verbose) {
         Utils.redact(properties).foreach { case (k, v) =>
-          logInfo(s"Adding default property: $k=$v")
+          logInfo(log"Adding default property: ${MDC(PROPERTY_NAME, 
k)}=${MDC(VALUE, v)}")

Review Comment:
   ```suggestion
             logInfo(log"Adding default property: ${MDC(KEY, k)}=${MDC(VALUE, 
v)}")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to