This is an automated email from the ASF dual-hosted git repository.
emaynard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new c99651e97 Demote technical log messages to DEBUG in
PolarisCallContextCatalogFactory (#1346)
c99651e97 is described below
commit c99651e97dbcb8426b6484c2c63f99ae8670e92f
Author: Dmitri Bourlatchkov <[email protected]>
AuthorDate: Wed Apr 9 14:54:10 2025 -0400
Demote technical log messages to DEBUG in PolarisCallContextCatalogFactory
(#1346)
These messages appear to be logging low-level technical details
about what is going on in the factory and are not likely to be
of interest to most users on a daily basis.
---
.../polaris/service/context/PolarisCallContextCatalogFactory.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/service/common/src/main/java/org/apache/polaris/service/context/PolarisCallContextCatalogFactory.java
b/service/common/src/main/java/org/apache/polaris/service/context/PolarisCallContextCatalogFactory.java
index 2332e9a00..0f4df5110 100644
---
a/service/common/src/main/java/org/apache/polaris/service/context/PolarisCallContextCatalogFactory.java
+++
b/service/common/src/main/java/org/apache/polaris/service/context/PolarisCallContextCatalogFactory.java
@@ -78,7 +78,7 @@ public class PolarisCallContextCatalogFactory implements
CallContextCatalogFacto
String realm = context.getRealmContext().getRealmIdentifier();
String catalogKey = realm + "/" + catalogName;
- LOGGER.info("Initializing new BasePolarisCatalog for key: {}", catalogKey);
+ LOGGER.debug("Initializing new BasePolarisCatalog for key: {}",
catalogKey);
PolarisEntityManager entityManager =
entityManagerFactory.getOrCreateEntityManager(context.getRealmContext());
@@ -98,7 +98,8 @@ public class PolarisCallContextCatalogFactory implements
CallContextCatalogFacto
CatalogEntity catalog = CatalogEntity.of(baseCatalogEntity);
Map<String, String> catalogProperties = new
HashMap<>(catalog.getPropertiesAsMap());
String defaultBaseLocation = catalog.getDefaultBaseLocation();
- LOGGER.info("Looked up defaultBaseLocation {} for catalog {}",
defaultBaseLocation, catalogKey);
+ LOGGER.debug(
+ "Looked up defaultBaseLocation {} for catalog {}",
defaultBaseLocation, catalogKey);
catalogProperties.put(
CatalogProperties.WAREHOUSE_LOCATION,
Objects.requireNonNullElseGet(