v.21.12Improvements

Fix logging and verbose option in clickhouse-local interactive mode

Fix --verbose option in clickhouse-local interactive mode and allow logging into file. #30881 (Kseniia Sumarokova).
Fixed the --verbose option in clickhouse-local interactive mode and added support for logging output to a file.

Why it matters

This feature addresses the issue where the --verbose flag did not function correctly in clickhouse-local interactive mode, enabling users to receive detailed logs as expected. Additionally, it allows users to redirect logs into a file for better log management and troubleshooting.

How to use it

To enable verbose logging in clickhouse-local, use the --verbose option when starting the interactive session. To log output to a file, specify the log file path by redirecting the logs or configuring the logging parameters accordingly.