gengliangwang commented on code in PR #46980:
URL: https://github.com/apache/spark/pull/46980#discussion_r1643394565
##########
streaming/src/main/scala/org/apache/spark/streaming/util/FileBasedWriteAheadLog.scala:
##########
@@ -170,8 +171,11 @@ private[streaming] class FileBasedWriteAheadLog(
pastLogs --= expiredLogs
expiredLogs
}
- logInfo(s"Attempting to clear ${oldLogFiles.size} old log files in
$logDirectory " +
- s"older than $threshTime: ${oldLogFiles.map { _.path }.mkString("\n")}")
+ logInfo(log"Attempting to clear ${MDC(LogKeys.NUM_RECORDS_READ,
oldLogFiles.size)} " +
+ log"old log files in " +
+ log"${MDC(LogKeys.DIRECTORY, logDirectory)} older than " +
Review Comment:
PATH
--
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]