mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 01:20:38 +00:00
fix(proxy): remove postgres notice logs
This commit is contained in:
committed by
Conrad Ludgate
parent
56e6ebfe17
commit
5c6dc2f695
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user