From 878319b0270bfef9116ec27d6c6b43ad8f9088e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Thu, 29 Aug 2024 22:37:30 +0200 Subject: [PATCH] lower log lvl for received frame --- src/tunnel/transport/websocket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tunnel/transport/websocket.rs b/src/tunnel/transport/websocket.rs index 46f094f..a6d29c5 100644 --- a/src/tunnel/transport/websocket.rs +++ b/src/tunnel/transport/websocket.rs @@ -14,7 +14,7 @@ use hyper::upgrade::Upgraded; use hyper::Request; use hyper_util::rt::TokioExecutor; use hyper_util::rt::TokioIo; -use log::{debug, info}; +use log::debug; use std::io; use std::io::ErrorKind; use std::ops::DerefMut; @@ -122,7 +122,7 @@ impl TunnelWrite for WebsocketTunnelWrite { async fn handle_pending_operations(&mut self) -> Result<(), io::Error> { while let Ok(frame) = self.pending_operations.try_recv() { - info!("received frame {:?}", frame.opcode); + debug!("received frame {:?}", frame.opcode); match frame.opcode { OpCode::Close => { if self.inner.write_frame(frame).await.is_err() {