Feat: Adjust the log level
Build and Push Docker Image / build_docker_image (push) Successful in 8m31s

This commit is contained in:
2025-08-07 00:15:23 +08:00
parent fb7a633d14
commit d7de8b8f8f
+3 -3
View File
@@ -130,11 +130,11 @@ pub async fn handle_ws_connection(
});
}
Ok(Message::Close(_)) => {
info!("Client {} disconnected via CLOSE message", client_id);
debug!("Client {} disconnected via CLOSE message", client_id);
break;
}
Err(e) => {
error!("Client {} WebSocket error: {}", client_id, e);
debug!("Client {} WebSocket error: {}", client_id, e);
break;
}
_ => {}
@@ -332,7 +332,7 @@ pub async fn handle_message(
new_trust_accounts.into_iter().collect();
new_trust_accounts_set.insert(SERVER_INFO.pubkey.to_string()); // 确保服务器公钥始终在信任列表中
*ts = new_trust_accounts_set;
debug!("Trust list updated to {} accounts.", ts.len());
info!("Trust list updated to {} accounts.", ts.len());
}
}
Err(e) => {