[tcp_transport] - Change log level on socket reading timeout

- Log level set to VERBOSE to reduce noise on debug.
This commit is contained in:
Euripedes Rocha
2022-09-30 09:59:08 +02:00
parent a38c63b211
commit 456d6a5d17

View File

@@ -169,7 +169,7 @@ static int base_poll_read(esp_transport_handle_t t, int timeout_ms)
ESP_LOGE(TAG, "poll_read select error %d, errno = %s, fd = %d", sock_errno, strerror(sock_errno), ssl->sockfd); ESP_LOGE(TAG, "poll_read select error %d, errno = %s, fd = %d", sock_errno, strerror(sock_errno), ssl->sockfd);
ret = -1; ret = -1;
} else if (ret == 0) { } else if (ret == 0) {
ESP_LOGD(TAG, "poll_read: select - Timeout before any socket was ready!"); ESP_LOGV(TAG, "poll_read: select - Timeout before any socket was ready!");
} }
return ret; return ret;
} }