v.20.3Improvement

Add text_log.level parameter to limit entries in system.text_log table

Add text_log.level configuration parameter to limit entries that goes to system.text_log table #8809 (Azat Khuzhin)
Introduces the text_log.level configuration parameter to control the minimum log level of entries inserted into the system.text_log table.

Why it matters

This feature allows users to limit the volume and granularity of log data stored in system.text_log by filtering out less important log entries based on their severity level. It helps improve log management efficiency and reduces unnecessary storage and processing of low-priority logs.

How to use it

Set the text_log.level parameter in the ClickHouse server configuration file to the desired minimum log level (e.g., error, warning, info). Log entries below this level will not be recorded in the system.text_log table.