v.18.12New Feature

Ability to Obtain Query Execution Logs in ClickHouse Client

Now you can get query execution logs in clickhouse-client (use the send_logs_level setting). With distributed query processing, logs are cascaded from all the servers. #2482
Added query execution logs to clickhouse-client with the send_logs_level setting, enabling cascaded logs collection from all servers during distributed query processing.

Why it matters

This feature solves the problem of limited visibility into query execution details in distributed environments by providing comprehensive query logs aggregated from all involved servers. It helps users diagnose and monitor distributed query behavior more effectively.

How to use it

Set the send_logs_level setting in clickhouse-client to the desired log level to enable query execution logging across distributed servers. Logs from all nodes participating in a distributed query are then cascaded back and displayed in the client.