v.23.9Improvement

ClickHouse Local Log Files Now Include Timestamps and Thread IDs

clickhouse-local's log file (if enabled with --server_logs_file flag) will now prefix each line with timestamp, thread id, etc, just like clickhouse-server. #54807 (Michael Kolupaev).
clickhouse-local logging lines are now prefixed with timestamp, thread id, and other details similarly to clickhouse-server logs.

Why it matters

This feature improves the readability and traceability of clickhouse-local logs by adding consistent metadata prefixes (such as timestamp and thread id) to each log line, making debugging and monitoring easier for users.

How to use it

Enable logging in clickhouse-local using the --server_logs_file flag. Once enabled, each log line will automatically include timestamp, thread id, and related information, matching the format used by clickhouse-server.