diff --git a/src/server/network/connection/connection.cpp b/src/server/network/connection/connection.cpp index 89da0303718..8a8f9b16d1a 100644 --- a/src/server/network/connection/connection.cpp +++ b/src/server/network/connection/connection.cpp @@ -135,7 +135,7 @@ void Connection::parseProxyIdentification(const std::error_code &error) { if (error || connectionState == CONNECTION_STATE_CLOSED) { if (error != asio::error::operation_aborted && error != asio::error::eof && error != asio::error::connection_reset) { - g_logger().error("[Connection::parseProxyIdentification] - Read error: {}", error.message()); + g_logger().debug("[Connection::parseProxyIdentification] - Read error: {}", error.message()); } close(FORCE_CLOSE); return; @@ -239,7 +239,7 @@ void Connection::parsePacket(const std::error_code &error) { if (error || connectionState == CONNECTION_STATE_CLOSED) { if (error) { - g_logger().error("[Connection::parsePacket] - Read error: {}", error.message()); + g_logger().debug("[Connection::parsePacket] - Read error: {}", error.message()); } close(FORCE_CLOSE); return;