v.19.1Improvements

Add Check That SET Send_logs_level = 'value' Query Accept Appropriate Value

Add check that SET send_logs_level = 'value' query accept appropriate value. #3873 (Sabyanin Maxim)
Added validation for the SET send_logs_level = 'value' query to ensure only appropriate log level values are accepted.

Why it matters

This feature prevents users from setting invalid logging levels via the send_logs_level setting, improving stability and correctness of log configuration in ClickHouse.

How to use it

When using the SET send_logs_level = 'value' query, users must provide a valid log level value recognized by ClickHouse. Invalid values will now be rejected by the system.