v.22.9Improvement
Add warning_supress_regexp config option
Add config option warning_supress_regexp, close #40330. #40548 (Vladimir C).Why it matters
This feature allows users to suppress specific warning messages in ClickHouse logs by matching them against a regular expression. It helps reduce noise in the logs by filtering out known or irrelevant warnings, improving log clarity and making it easier to focus on important warnings.How to use it
To use this feature, add thewarning_supress_regexp option to the ClickHouse server configuration file with a regular expression pattern that matches the warnings you want to suppress. For example:<yandex>
<warning_supress_regexp>pattern_to_match_warning_messages</warning_supress_regexp>
</yandex>Restart the server after modifying the configuration for the changes to take effect.