Skip to content

Commit 619ec9b

Browse files
Make log less verbose.
These messages printed on each new connection to the snowflake. This may flude if connections are not cached by some reason.
1 parent 468aa59 commit 619ec9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/net/snowflake/client/core/SFSession.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public synchronized void open() throws SFException, SnowflakeSQLException {
632632
stopwatch.start();
633633
performSanityCheckOnProperties();
634634
Map<SFSessionProperty, Object> connectionPropertiesMap = getConnectionPropertiesMap();
635-
logger.info(
635+
logger.debug(
636636
"Opening session with server: {}, account: {}, user: {}, password is {}, role: {}, database: {}, schema: {},"
637637
+ " warehouse: {}, validate default parameters: {}, authenticator: {}, ocsp mode: {},"
638638
+ " passcode in password: {}, passcode is {}, private key is {}, disable socks proxy: {},"
@@ -777,7 +777,7 @@ public synchronized void open() throws SFException, SnowflakeSQLException {
777777
.setEnableClientRequestMfaToken(enableClientRequestMfaToken)
778778
.setBrowserResponseTimeout(browserResponseTimeout);
779779

780-
logger.info(
780+
logger.debug(
781781
"Connecting to {} Snowflake domain",
782782
loginInput.getHostFromServerUrl().toLowerCase().endsWith(".cn") ? "CHINA" : "GLOBAL");
783783

0 commit comments

Comments
 (0)