gengliangwang commented on code in PR #46309:
URL: https://github.com/apache/spark/pull/46309#discussion_r1585636366
##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -797,8 +799,10 @@ private[spark] object Utils
}
if (uris.nonEmpty) {
logWarning(
- "The configured local directories are not expected to be URIs;
however, got suspicious " +
- s"values [${uris.mkString(", ")}]. Please check your configured local
directories.")
+ log"The configured local directories are not expected to be URIs; " +
+ log"however, got suspicious values [" +
+ log"${MDC(LogKeys.URI, uris.mkString(", "))}]. " +
Review Comment:
```suggestion
log"${MDC(LogKeys.URIS, uris.mkString(", "))}]. " +
```
--
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]