mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Send fatal logs by default in clickhouse-local
This commit is contained in:
parent
648e0bd4cb
commit
d1c56e3dab
@ -612,7 +612,7 @@ void LocalServer::processConfig()
|
||||
else if (logging || is_interactive)
|
||||
{
|
||||
config().setString("logger", "logger");
|
||||
auto log_level_default = is_interactive && !logging ? "none" : level;
|
||||
auto log_level_default = is_interactive && !logging ? "fatal" : level;
|
||||
config().setString("logger.level", config().getString("log-level", config().getString("send_logs_level", log_level_default)));
|
||||
buildLoggers(config(), logger(), "clickhouse-local");
|
||||
logging_initialized = true;
|
||||
|
Loading…
Reference in New Issue
Block a user