Parse log_level in cluster_client

Vitaliy Filippov 2023-12-20 02:21:23 +03:00
parent 7cea642f4a
commit 7239cfb91a
2 changed files with 3 additions and 1 deletions

View File

@ -359,6 +359,8 @@ void cluster_client_t::on_load_config_hook(json11::Json::object & etcd_global_co
{
up_wait_retry_interval = 50;
}
// log_level
log_level = config["log_level"].uint64_value();
msgr.parse_config(config);
st_cli.parse_config(config);
st_cli.load_pgs();

View File

@ -91,7 +91,7 @@ class cluster_client_t
uint64_t client_max_buffered_ops = 0;
uint64_t client_max_writeback_iodepth = 0;
int log_level;
int log_level = 0;
int up_wait_retry_interval = 500; // ms
int retry_timeout_id = 0;