Skip to content

Commit 7a6b7cc

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 1394b84 commit 7a6b7cc

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
@@ -653,7 +653,7 @@ public synchronized void open() throws SFException, SnowflakeSQLException {
653653
stopwatch.start();
654654
performSanityCheckOnProperties();
655655
Map<SFSessionProperty, Object> connectionPropertiesMap = getConnectionPropertiesMap();
656-
logger.info(
656+
logger.debug(
657657
"Opening session with server: {}, account: {}, user: {}, password is {}, role: {}, database: {}, schema: {},"
658658
+ " warehouse: {}, validate default parameters: {}, authenticator: {}, ocsp mode: {},"
659659
+ " passcode in password: {}, passcode is {}, private key is {}, disable socks proxy: {},"
@@ -810,7 +810,7 @@ public synchronized void open() throws SFException, SnowflakeSQLException {
810810
connectionPropertiesMap.get(SFSessionProperty.DISABLE_PLATFORM_DETECTION))
811811
: false); // Default to false (platform detection enabled)
812812

813-
logger.info(
813+
logger.debug(
814814
"Connecting to {} Snowflake domain",
815815
loginInput.getHostFromServerUrl().toLowerCase().endsWith(".cn") ? "CHINA" : "GLOBAL");
816816

0 commit comments

Comments
 (0)