From 667cbd86b861b69d23fe9a20d40ce29886f7b56b Mon Sep 17 00:00:00 2001 From: Rolo Date: Thu, 24 Oct 2024 23:48:49 -0700 Subject: [PATCH] refactor(read_handler): change log from error to warn --- amqprs/src/net/reader_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amqprs/src/net/reader_handler.rs b/amqprs/src/net/reader_handler.rs index 1ea6528..bda9d40 100644 --- a/amqprs/src/net/reader_handler.rs +++ b/amqprs/src/net/reader_handler.rs @@ -291,7 +291,7 @@ impl ReaderHandler { // should call self.io_failure_notify.notify_one();? #[cfg(feature="traces")] - error!("missing heartbeat from server for {}", self.amqp_connection); + warn!("missing heartbeat from server for {}", self.amqp_connection); heartbeat_miss += 1; if heartbeat_miss >= MAX_HEARTBEAT_MISS { #[cfg(feature="traces")]