chore: set metasrv and datanode heartbeat log level to trace (#1357)

This commit is contained in:
localhost
2023-04-11 11:21:29 +08:00
committed by GitHub
parent 09f003d01d
commit 1a21a6ea41
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ use std::time::Duration;
use api::v1::meta::{HeartbeatRequest, HeartbeatResponse, NodeStat, Peer};
use catalog::{datanode_stat, CatalogManagerRef};
use common_telemetry::{error, info, warn};
use common_telemetry::{error, info, trace, warn};
use meta_client::client::{HeartbeatSender, MetaClient};
use snafu::ResultExt;
@@ -84,7 +84,7 @@ impl HeartbeatTask {
}
async fn handle_response(resp: HeartbeatResponse) {
info!("heartbeat response: {:?}", resp);
trace!("heartbeat response: {:?}", resp);
}
/// Start heartbeat task, spawn background task.

View File

@@ -72,7 +72,7 @@ async fn run() {
tokio::spawn(async move {
while let Some(res) = receiver.message().await.unwrap() {
event!(Level::INFO, "heartbeat response: {:#?}", res);
event!(Level::TRACE, "heartbeat response: {:#?}", res);
}
});