diff --git a/core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java b/core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java index dd542a8af..25e6994d0 100644 --- a/core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java +++ b/core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java @@ -162,7 +162,7 @@ private boolean isTableDir(Path path) { return false; } catch (IOException e) { if (shouldSuppressPermissionError(e)) { - LOG.warn("Unable to list metadata directory {}: {}", metadataPath, e); + LOG.warn("Unable to list metadata directory {}", metadataPath, e); return false; } else { throw new UncheckedIOException(e); @@ -177,7 +177,7 @@ private boolean isDirectory(Path path) { return false; } catch (IOException e) { if (shouldSuppressPermissionError(e)) { - LOG.warn("Unable to list directory {}: {}", path, e); + LOG.warn("Unable to list directory {}", path, e); return false; } else { throw new UncheckedIOException(e);