This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.7 by this push:
     new 895d3d4c0 [5302]Improvement (trino-connector): Set the log level to 
debug for the logging of load catalog (#5309)
895d3d4c0 is described below

commit 895d3d4c0f9cd2dcf9a79171b645164e1d98dd34
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 28 18:24:43 2024 +0800

    [5302]Improvement (trino-connector): Set the log level to debug for the 
logging of load catalog (#5309)
    
    ### What changes were proposed in this pull request?
    
    Reduce redundant logging in the Trino connector.
    
    ### Why are the changes needed?
    
    Fix: #5302
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    No
    
    Co-authored-by: Yuhui <[email protected]>
---
 .../gravitino/trino/connector/catalog/CatalogConnectorManager.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogConnectorManager.java
 
b/trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogConnectorManager.java
index 35dabfebb..46a132821 100644
--- 
a/trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogConnectorManager.java
+++ 
b/trino-connector/trino-connector/src/main/java/org/apache/gravitino/trino/connector/catalog/CatalogConnectorManager.java
@@ -127,7 +127,7 @@ public class CatalogConnectorManager {
         try {
           GravitinoMetalake metalake =
               metalakes.computeIfAbsent(usedMetalake, this::retrieveMetalake);
-          LOG.info("Load metalake: {}", usedMetalake);
+          LOG.debug("Load metalake: {}", usedMetalake);
           loadCatalogs(metalake);
         } catch (Exception e) {
           LOG.error("Load Metalake {} failed.", usedMetalake, e);
@@ -158,7 +158,7 @@ public class CatalogConnectorManager {
       return;
     }
 
-    LOG.info(
+    LOG.debug(
         "Load metalake {}'s catalogs. catalogs: {}.",
         metalake.name(),
         Arrays.toString(catalogNames));

Reply via email to