Open jjtt opened 1 week ago
On some exceptions the JDBC driver prints a whole stack trace to stdout here: https://github.com/ClickHouse/clickhouse-java/blob/main/clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseClient.java#L963
This can mess up structured logging output for an application that uses the ClickHouse JDBC driver.
Should use some common logging framework where the application can control logging from libraries. For example: SLF4J or logback.
Or throw an exception and let the application worry about it.
Describe the bug
On some exceptions the JDBC driver prints a whole stack trace to stdout here: https://github.com/ClickHouse/clickhouse-java/blob/main/clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseClient.java#L963
This can mess up structured logging output for an application that uses the ClickHouse JDBC driver.
Steps to reproduce
Expected behaviour
Should use some common logging framework where the application can control logging from libraries. For example: SLF4J or logback.
Or throw an exception and let the application worry about it.