clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

"v2 driver" log messages at "info" level

Open devurandom opened this issue 10 months ago • 3 comments

Describe the bug

The v2 client spams "v2 driver" log messages at "info" level from: https://github.com/ClickHouse/clickhouse-java/blob/7b7749fb00c848d4ecbec74d54ac8dca8f12de4e/clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/ClickHouseDriver.java#L83

Steps to reproduce

  1. Create a v2 client and make queries with it
  2. Observe lots of INFO [com.clickhouse.jdbc.ClickHouseDriver] v2 driver log messages

Expected behaviour

ClickHouse Java client stays silent on INFO level and higher, unless there is something particularly noteworthy.

Configuration

Environment

  • Client version: 0.8.0
  • Language version: Java 11 / Clojure 1.12
  • OS: Linux 6

ClickHouse server

  • ClickHouse Server version: Cloud
  • ClickHouse Server non-default settings, if any: N/A

devurandom avatar Feb 14 '25 17:02 devurandom

Good day, @devurandom ! It was done intentionally because we have changed the internal implementation of JDBC driver. We will remove it. Meanwhile please just turn off logger for this class. Thanks!

chernser avatar Feb 14 '25 19:02 chernser

The issue persists with version 0.8.2 and 0.8.4.

devurandom avatar Apr 30 '25 15:04 devurandom

Good day, @devurandom! Sorry about that. We've planned to make overall logging cleanup so this problem will be solved.

chernser avatar Apr 30 '25 16:04 chernser