You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api-diagnosticsArea: public API shape, error reporting, logging, metrics, tracingclientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)planned_workWork that is planned for nearest release. Good to take
remove debug logs on hot path (while data reading, while repeating operations)
check debug do not have SQL, credentials, sensitive information, user data, etc.
review all other logs in the same way
info log should be less frequent and happen only 1 - 2 times. info logs should indicate really valuable information not just "client initialized". No configuration dumps. Only very specific cases (because when client initialized for each request it causes log flood)
error for exceptions and really errors
trace log should not be used except for a few cases
warn is to indicate abnormal state. should not happen on hot path but fine for configuration.
document logging with examples how to disable/enable different loggers - so user just copy to application configuration.
Recommendation: Keep open — review PR #3300 #3300 changes only client-v2 and jdbc-v2, and has a merge conflict with main. #3301 adds the docs and goes after #3300. Neither changes the issue's example in clickhouse-data.
Category: Other
Classification: impact: none · area: API & diagnostics (logging)
Status on main: Not applicable — main (8480ca001) still has the debug log of the issue's example, now at line 187.
Breaking change: No
Duplicates / related: No others
Analysis:NonBlockingPipedOutputStream.writeBytes writes a debug log in each pass of its write loop (clickhouse-data/src/main/java/com/clickhouse/data/stream/NonBlockingPipedOutputStream.java:187). Only the v1 stack creates this stream (ClickHouseDataStreamFactory.java:194, :230, called from clickhouse-client, clickhouse-http-client, and the v1 driver), so client-v2 and jdbc-v2 do not write this log. The issue also asks for docs: the Logging section of docs/clickhouse-docs/index.mdx shows only the com.clickhouse logger, with no list of the loggers to turn on or off.
Automated triage by Polyglot AI. A maintainer makes the final decision.
api-diagnosticsArea: public API shape, error reporting, logging, metrics, tracingclientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationenhancementjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)planned_workWork that is planned for nearest release. Good to take
Activity
Remove sensitive and repetitive logging in client-v2 and jdbc-v2 (Cli…
Log skipped non-numeric summary field at trace level (ClickHouse#3295)
Restore query id, authority and stack traces in client-v2 logs (Click…
Address review of jdbc-v2 logging and update docs (ClickHouse#3295)
Document what client-v2 and jdbc-v2 log and a safe logging configurat…
Document that query IDs, server addresses and stack traces stay in lo…
polyglotAI-bot commentedon Nov 27, 2026
Recommendation: Keep open — review PR #3300
#3300 changes only client-v2 and jdbc-v2, and has a merge conflict with
main. #3301 adds the docs and goes after #3300. Neither changes the issue's example inclickhouse-data.main: Not applicable —main(8480ca001) still has the debug log of the issue's example, now at line 187.Analysis:
NonBlockingPipedOutputStream.writeByteswrites adebuglog in each pass of its write loop (clickhouse-data/src/main/java/com/clickhouse/data/stream/NonBlockingPipedOutputStream.java:187). Only the v1 stack creates this stream (ClickHouseDataStreamFactory.java:194,:230, called fromclickhouse-client,clickhouse-http-client, and the v1 driver), so client-v2 and jdbc-v2 do not write this log. The issue also asks for docs: the Logging section ofdocs/clickhouse-docs/index.mdxshows only thecom.clickhouselogger, with no list of the loggers to turn on or off.Automated triage by Polyglot AI. A maintainer makes the final decision.