panbingkun commented on code in PR #46079:
URL: https://github.com/apache/spark/pull/46079#discussion_r1570330149
##########
streaming/src/main/scala/org/apache/spark/streaming/scheduler/ReceivedBlockTracker.scala:
##########
@@ -247,7 +247,8 @@ private[streaming] class ReceivedBlockTracker(
true
} catch {
case NonFatal(e) =>
- logWarning(s"Exception thrown while writing record: $record to the
WriteAheadLog.", e)
+ logWarning(log"Exception thrown while writing record: " +
+ log"${MDC(RECEIVED_BLOCK_TRACKER_LOG_EVENT, record)} to the
WriteAheadLog.", e)
Review Comment:
I'm not sure if it's called `RECORD`, maybe it's more `general`.
--
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]