Skip to content

Commit e5bc87e

Browse files
authored
fix: Remove info log about deprecated internal method from PolarisConfiguration (#1672)
Remove the INFO log about calls to this method in Polaris, because users cannot do anything about these messages. Phasing out old property names requires coordination with users (e.g. release notes), so it is not a matter of merely avoiding calls to that method in Polaris code. Fixes #1666
1 parent c11c1b1 commit e5bc87e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,11 @@ public Builder<T> catalogConfig(String catalogConfig) {
165165
/**
166166
* Used to support backwards compatability before there were reserved properties. Usage of this
167167
* method should be removed over time.
168+
*
169+
* @deprecated Use {@link #catalogConfig()} instead.
168170
*/
169171
@Deprecated
170172
public Builder<T> catalogConfigUnsafe(String catalogConfig) {
171-
LOGGER.info("catalogConfigUnsafe is deprecated! Use catalogConfig() instead.");
172173
if (catalogConfig.startsWith(SAFE_CATALOG_CONFIG_PREFIX)) {
173174
throw new IllegalArgumentException(
174175
"Unsafe catalog configs are not expected to start with " + SAFE_CATALOG_CONFIG_PREFIX);

0 commit comments

Comments
 (0)