perf(log): 会话消息投递成功日志降级为 debug
文本/附件投递成功的 info 日志降级为 debug,减少每条消息的运行噪音;失败路径的 warn 日志不变。
This commit is contained in:
parent
725efe3f85
commit
6037c79b9c
@ -59,7 +59,7 @@ impl SessionMessageSender for BusSessionMessageSender {
|
||||
match self.bus.publish_outbound(outbound).await {
|
||||
Ok(()) => {
|
||||
published_messages += 1;
|
||||
tracing::info!(
|
||||
tracing::debug!(
|
||||
channel = %channel_name,
|
||||
chat_id = %chat_id,
|
||||
content_len = content_len,
|
||||
@ -95,7 +95,7 @@ impl SessionMessageSender for BusSessionMessageSender {
|
||||
match self.bus.publish_outbound(outbound).await {
|
||||
Ok(()) => {
|
||||
published_messages += 1;
|
||||
tracing::info!(
|
||||
tracing::debug!(
|
||||
channel = %channel_name,
|
||||
chat_id = %chat_id,
|
||||
media_type = %media_type,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user