@@ -20,8 +20,7 @@ public class ClickHouseDriver implements java.sql.Driver {
2020 }
2121
2222 public ClickHouseDriver () {
23- // log.debug("Creating a new instance of the 'proxy' ClickHouseDriver");
24- log .info ("ClickHouse JDBC driver version: {}" , ClickHouseDriver .class .getPackage ().getImplementationVersion ());
23+ log .debug ("ClickHouse JDBC driver version: {}" , ClickHouseDriver .class .getPackage ().getImplementationVersion ());
2524 urlFlagSent = false ;
2625 this .driver = getDriver (null );
2726 }
@@ -52,21 +51,21 @@ public boolean isV2(String url) {
5251 log .debug ("Checking if V1 driver is requested. V2 is the default driver." );
5352 boolean v1Flag = Boolean .parseBoolean (System .getProperty ("clickhouse.jdbc.v1" , "false" ));
5453 if (v1Flag ) {
55- log .info ("V1 driver is requested through system property." );
54+ log .debug ("V1 driver is requested through system property." );
5655 return false ;
5756 }
5857
5958 if (url != null && url .contains ("clickhouse.jdbc.v" )) {
6059 urlFlagSent = true ;
6160
6261 if (url .contains ("clickhouse.jdbc.v1=true" )) {
63- log .info ("V1 driver is requested through URL." );
62+ log .debug ("V1 driver is requested through URL." );
6463 return false ;
6564 } if (url .contains ("clickhouse.jdbc.v2=false" )) {
66- log .info ("V1 driver is requested through URL." );
65+ log .debug ("V1 driver is requested through URL." );
6766 return false ;
6867 } else {
69- log .info ("V2 driver is requested through URL." );
68+ log .debug ("V2 driver is requested through URL." );
7069 return true ;
7170 }
7271 }
@@ -81,10 +80,10 @@ private java.sql.Driver getDriver(String url) {
8180 }
8281
8382 if (isV2 (url )) {
84- log .info ("v2 driver" );
83+ log .debug ("v2 driver" );
8584 driver = new com .clickhouse .jdbc .Driver ();
8685 } else {
87- log .info ("v1 driver" );
86+ log .debug ("v1 driver" );
8887 driver = new DriverV1 ();
8988 }
9089
0 commit comments