From 119f5380629a38e25f5c36027bb1a7ed950e9727 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 27 Sep 2021 09:21:23 +0900 Subject: [PATCH] Remove unnecesary log print When EAGAIN error occurs, the rpc-port waits for POLLIN event. If the timeout error occurs, the rpc-port prints the error log. Change-Id: Icfaf163226072986e1d99e08a307ad2eb7ff83e0 Signed-off-by: Hwankyu Jhun --- src/port-internal.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/port-internal.cc b/src/port-internal.cc index c7c5726..aaccee8 100644 --- a/src/port-internal.cc +++ b/src/port-internal.cc @@ -140,7 +140,6 @@ int Port::Read(void* buf, unsigned int size) { return RPC_PORT_ERROR_IO_ERROR; } else if (nb == -1) { if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) { - LOGI("read_socket: %d errno, wait and retry ...", errno); bool can_read = false; while (!can_read && max_timeout > 0) { auto start = std::chrono::steady_clock::now(); -- 2.7.4