mimaison commented on code in PR #20087:
URL: https://github.com/apache/kafka/pull/20087#discussion_r2239580835


##########
storage/src/test/java/org/apache/kafka/server/log/remote/storage/RemoteLogSegmentFileset.java:
##########
@@ -254,13 +254,13 @@ public static boolean deleteFilesOnly(final 
Collection<File> files) {
 
     public static boolean deleteQuietly(final File file) {
         try {
-            LOGGER.trace("Deleting " + file.getAbsolutePath());
+            LOGGER.trace("Deleting {}", file.getAbsolutePath());
             if (!file.exists()) {
                 return true;
             }
             return file.delete();
         } catch (final Exception e) {
-            LOGGER.error(format("Encountered error while deleting %s", 
file.getAbsolutePath()));
+            LOGGER.error("Encountered error while deleting {}", 
file.getAbsolutePath());

Review Comment:
   Done



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to