This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 66404a1eb [5302]Improvement (trino-connector): Set the log level to
debug for the logging of load catalog (#5303)
66404a1eb is described below
commit 66404a1eba1c9d92cebbb2d8f6bcbb6fd1a47f2e
Author: Yuhui <[email protected]>
AuthorDate: Mon Oct 28 17:28:27 2024 +0800
[5302]Improvement (trino-connector): Set the log level to debug for the
logging of load catalog (#5303)
### 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
---
.../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));