v.21.7Improvement

Improved S3 Error Logging and Formatting

Improved log messages of S3 errors, no more double whitespaces in case of empty keys and buckets. #24897 (Vladimir Chebotarev).
Improved log messages for S3 errors by removing double whitespaces in cases of empty keys and buckets.

Why it matters

This enhancement aims to make S3 error logs cleaner and more readable by eliminating unnecessary double whitespaces that occurred when S3 keys or buckets were empty. This improves diagnostics and debugging for users interacting with S3 storage.

How to use it

This update applies automatically to S3 error logging within ClickHouse. Users do not need to change any settings; the log message formatting is improved by default.