Skip to content

Commit

Permalink
fix tracing::info
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Aug 6, 2024
1 parent 5045523 commit 65f6eb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/meta/src/controller/system_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(&params), "initialize system parameters");
tracing::info!(initial_params = ?SystemParamsReader::new(&params), "initialize system parameters");
check_missing_params(&params).map_err(|e| anyhow!(e))?;

let ctl = Self {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/src/manager/system_param/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl SystemParamsManager {
return Err(require_sql_meta_store_err().into());
}

info!(initial_params = ?SystemParamsReader::new(&params), "initialize system parameters");
tracing::info!(initial_params = ?SystemParamsReader::new(&params), "initialize system parameters");
check_missing_params(&params).map_err(|e| anyhow!(e))?;

Ok(Self {
Expand Down

0 comments on commit 65f6eb1

Please sign in to comment.