gongxuanzhang commented on code in PR #18393:
URL: https://github.com/apache/kafka/pull/18393#discussion_r1906512137


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/LocalLog.java:
##########
@@ -358,7 +358,7 @@ public void deleteEmptyDir() {
      */
     public List<LogSegment> deleteAllSegments() {
         return maybeHandleIOException(
-            () -> "Error while deleting all segments for $topicPartition in 
dir ${dir.getParent}",
+            () -> String.format("Error while deleting all segments for %s in 
dir %s", topicPartition, dir.getParent()),

Review Comment:
   Thanks for the tip



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

Reply via email to