Skip to content

Commit

Permalink
[5302]Improvement (trino-connector): Set the log level to debug for t…
Browse files Browse the repository at this point in the history
…he logging of load catalog (apache#5303)

### What changes were proposed in this pull request?

Reduce redundant logging in the Trino connector.

### Why are the changes needed?

Fix: apache#5302 

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

No
  • Loading branch information
diqiu50 authored Oct 28, 2024
1 parent 955d527 commit 66404a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void loadMetalake() {
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);
Expand Down Expand Up @@ -158,7 +158,7 @@ private void loadCatalogs(GravitinoMetalake metalake) {
return;
}

LOG.info(
LOG.debug(
"Load metalake {}'s catalogs. catalogs: {}.",
metalake.name(),
Arrays.toString(catalogNames));
Expand Down

0 comments on commit 66404a1

Please sign in to comment.