Skip to content

Commit 5b8ce5c

Browse files
authored
fix: set client config log level to INFO (#3876)
1 parent 26270e8 commit 5b8ce5c

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

bigtable-client-core-parent/bigtable-hbase/src/main/java/org/apache/hadoop/hbase/client/AbstractBigtableConnection.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,15 @@ private void logStartup(Logger logger, Configuration userConfig, BigtableHBaseSe
146146
jarPath, BigtableHBaseVersion.getVersion());
147147
}
148148
// Dump user configuration
149-
if (logger.getLog().isDebugEnabled()) {
150-
MoreObjects.ToStringHelper configHelper = MoreObjects.toStringHelper("BigtableConfiguration");
151-
152-
for (Map.Entry<String, String> entry : userConfig) {
153-
if (!entry.getKey().startsWith("google.bigtable")) {
154-
continue;
155-
}
156-
configHelper.add(entry.getKey(), entry.getValue());
149+
MoreObjects.ToStringHelper configHelper = MoreObjects.toStringHelper("BigtableConfiguration");
150+
for (Map.Entry<String, String> entry : userConfig) {
151+
if (!entry.getKey().startsWith("google.bigtable")) {
152+
continue;
157153
}
158-
logger.debug("User Configuration: " + configHelper);
159-
logger.debug("Effective settings: " + settings.toDebugString());
154+
configHelper.add(entry.getKey(), entry.getValue());
160155
}
156+
logger.info("User Configuration: " + configHelper);
157+
logger.info("Effective settings: " + settings.toDebugString());
161158
}
162159

163160
/** {@inheritDoc} */

0 commit comments

Comments
 (0)