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


##########
core/src/main/scala/org/apache/spark/SparkConf.scala:
##########
@@ -772,15 +774,19 @@ private[spark] object SparkConf extends Logging {
   def logDeprecationWarning(key: String): Unit = {
     deprecatedConfigs.get(key).foreach { cfg =>
       logWarning(
-        s"The configuration key '$key' has been deprecated as of Spark 
${cfg.version} and " +
-        s"may be removed in the future. ${cfg.deprecationMessage}")
+        log"The configuration key '${MDC(CONFIG_KEY, key)}' has been 
deprecated " +

Review Comment:
   let's just use `CONFIG`



-- 
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