diff --git a/user-embedding/src/bertcommon.rs b/user-embedding/src/bertcommon.rs index a8e2560..24d8a45 100755 --- a/user-embedding/src/bertcommon.rs +++ b/user-embedding/src/bertcommon.rs @@ -137,7 +137,7 @@ async fn calculate_userembedding() -> AnyhowResult { calculate_single_entry_pure(current_entry_id, &model, current_tokenizer).await; if let Some(current_tensor) = current_tensor_option { cumulative_tensor = cumulative_tensor.add(¤t_tensor)?; - tracing::debug!("add current_entry {}", current_entry_id); + tracing::info!("add current_entry {}", current_entry_id); } else { tracing::error!("current_entry_id {} calculate fail", current_entry_id); } diff --git a/user-embedding/src/common.rs b/user-embedding/src/common.rs index e7049c3..1770fda 100755 --- a/user-embedding/src/common.rs +++ b/user-embedding/src/common.rs @@ -13,6 +13,7 @@ pub fn init_tracing() { tracing_subscriber::fmt() .with_line_number(true) .with_file(true) + .with_max_level(tracing::Level::DEBUG) .init(); tracing::error!("tracing initialized."); }