From 65f6eb19d945a997855bf9d54fbb84ebd6501c26 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Tue, 6 Aug 2024 16:49:36 +0800 Subject: [PATCH] fix tracing::info Signed-off-by: Bugen Zhao --- src/meta/src/controller/system_param.rs | 2 +- src/meta/src/manager/system_param/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meta/src/controller/system_param.rs b/src/meta/src/controller/system_param.rs index 4fd4b1f139be..e9d3c25be89f 100644 --- a/src/meta/src/controller/system_param.rs +++ b/src/meta/src/controller/system_param.rs @@ -142,7 +142,7 @@ impl SystemParamsController { let params = SystemParameter::find().all(&db).await?; let params = merge_params(system_params_from_db(params)?, init_params); - info!(initial_params = ?SystemParamsReader::new(¶ms), "initialize system parameters"); + tracing::info!(initial_params = ?SystemParamsReader::new(¶ms), "initialize system parameters"); check_missing_params(¶ms).map_err(|e| anyhow!(e))?; let ctl = Self { diff --git a/src/meta/src/manager/system_param/mod.rs b/src/meta/src/manager/system_param/mod.rs index 1b76af569f9e..8776746c5471 100644 --- a/src/meta/src/manager/system_param/mod.rs +++ b/src/meta/src/manager/system_param/mod.rs @@ -76,7 +76,7 @@ impl SystemParamsManager { return Err(require_sql_meta_store_err().into()); } - info!(initial_params = ?SystemParamsReader::new(¶ms), "initialize system parameters"); + tracing::info!(initial_params = ?SystemParamsReader::new(¶ms), "initialize system parameters"); check_missing_params(¶ms).map_err(|e| anyhow!(e))?; Ok(Self {