From d36ebac3f702efb8c84815b96bdae60497bbde98 Mon Sep 17 00:00:00 2001 From: Brijesh Thummar Date: Wed, 26 Feb 2025 06:01:04 +0530 Subject: [PATCH] fix(logging): Correct logger class in IcebergTableRenameOperations (#6522) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What changes were proposed in this pull request? Fixed an incorrect logging class reference in IcebergTableRenameOperations. ### Why are the changes needed? The logger was incorrectly referencing IcebergTableOperations instead of IcebergTableRenameOperations, which could cause confusion in logs. Fix: #6518 ### Does this PR introduce *any* user-facing change? No ### How was this patch tested? No testing is required. --- .../iceberg/service/rest/IcebergTableRenameOperations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableRenameOperations.java b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableRenameOperations.java index 23acc1da124..f0f508dcb1f 100644 --- a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableRenameOperations.java +++ b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableRenameOperations.java @@ -43,7 +43,7 @@ @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public class IcebergTableRenameOperations { - private static final Logger LOG = LoggerFactory.getLogger(IcebergTableOperations.class); + private static final Logger LOG = LoggerFactory.getLogger(IcebergTableRenameOperations.class); @Context private HttpServletRequest httpRequest;