fix(proxy): remove postgres notice logs

This commit is contained in:
Conrad Ludgate
2025-01-02 11:03:40 +00:00
committed by Conrad Ludgate
parent 56e6ebfe17
commit 5c6dc2f695
2 changed files with 2 additions and 6 deletions

View File

@@ -124,9 +124,7 @@ pub(crate) fn poll_client<C: ClientInnerExt>(
let message = ready!(connection.poll_message(cx));
match message {
Some(Ok(AsyncMessage::Notice(notice))) => {
info!(%session_id, "notice: {}", notice);
}
Some(Ok(AsyncMessage::Notice(_))) => {}
Some(Ok(AsyncMessage::Notification(notif))) => {
warn!(%session_id, pid = notif.process_id(), channel = notif.channel(), "notification received");
}

View File

@@ -227,9 +227,7 @@ pub(crate) fn poll_client<C: ClientInnerExt>(
let message = ready!(connection.poll_message(cx));
match message {
Some(Ok(AsyncMessage::Notice(notice))) => {
info!(%session_id, "notice: {}", notice);
}
Some(Ok(AsyncMessage::Notice(_))) => {}
Some(Ok(AsyncMessage::Notification(notif))) => {
warn!(%session_id, pid = notif.process_id(), channel = notif.channel(), "notification received");
}