v.25.9New Feature

Allow for overriding the log level during

New configuration options: logger.startupLevel & logger.shutdownLevel allow for overriding the log level during the startup & shutdown of Clickhouse respectively. #85967 (Lennard Eijsackers).
Introduces new configuration options logger.startupLevel and logger.shutdownLevel to specify custom log levels during ClickHouse startup and shutdown phases.

Why it matters

To provide finer control over logging verbosity during the critical startup and shutdown periods of ClickHouse. This helps users reduce noise or increase detail in logs specifically when the server is starting or stopping, improving log management and troubleshooting.

How to use it

Set the desired log level in the ClickHouse configuration file under the logger.startupLevel and logger.shutdownLevel settings. For example:

logger:
startupLevel: warning
shutdownLevel: error


These settings override the default log levels during startup and shutdown phases respectively.