Skip to content

Commit c99651e

Browse files
authored
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.
1 parent ab799a8 commit c99651e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

service/common/src/main/java/org/apache/polaris/service/context/PolarisCallContextCatalogFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public Catalog createCallContextCatalog(
7878

7979
String realm = context.getRealmContext().getRealmIdentifier();
8080
String catalogKey = realm + "/" + catalogName;
81-
LOGGER.info("Initializing new BasePolarisCatalog for key: {}", catalogKey);
81+
LOGGER.debug("Initializing new BasePolarisCatalog for key: {}", catalogKey);
8282

8383
PolarisEntityManager entityManager =
8484
entityManagerFactory.getOrCreateEntityManager(context.getRealmContext());
@@ -98,7 +98,8 @@ public Catalog createCallContextCatalog(
9898
CatalogEntity catalog = CatalogEntity.of(baseCatalogEntity);
9999
Map<String, String> catalogProperties = new HashMap<>(catalog.getPropertiesAsMap());
100100
String defaultBaseLocation = catalog.getDefaultBaseLocation();
101-
LOGGER.info("Looked up defaultBaseLocation {} for catalog {}", defaultBaseLocation, catalogKey);
101+
LOGGER.debug(
102+
"Looked up defaultBaseLocation {} for catalog {}", defaultBaseLocation, catalogKey);
102103
catalogProperties.put(
103104
CatalogProperties.WAREHOUSE_LOCATION,
104105
Objects.requireNonNullElseGet(

0 commit comments

Comments
 (0)