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


##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -131,19 +131,23 @@ private[spark] abstract class BasePythonRunner[IN, OUT](
   private val daemonModule =
     conf.get(PYTHON_DAEMON_MODULE).map { value =>
       logInfo(
-        s"Python daemon module in PySpark is set to [$value] in 
'${PYTHON_DAEMON_MODULE.key}', " +
-        "using this to start the daemon up. Note that this configuration only 
has an effect when " +
-        s"'${PYTHON_USE_DAEMON.key}' is enabled and the platform is not 
Windows.")
+        log"Python daemon module in PySpark is set to " +
+        log"[${MDC(LogKeys.VALUE, value)}] in 
'${MDC(LogKeys.PYTHON_DAEMON_MODULE,
+          PYTHON_DAEMON_MODULE.key)}', using this to start the daemon up. Note 
that this " +
+          log"configuration only has an effect when 
'${MDC(LogKeys.PYTHON_USE_DAEMON,

Review Comment:
   ```suggestion
             log"configuration only has an effect when '${MDC(LogKeys.CONFIG2,
   ```



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