Merge pull request #62348 from ClickHouse/http_log_levels

Reduce log levels for ReadWriteBufferFromHTTP retries
This commit is contained in:
Alexander Gololobov 2024-04-09 07:02:31 +00:00 committed by GitHub
commit b3dd5f519d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -345,7 +345,7 @@ void ReadWriteBufferFromHTTP::doWithRetries(std::function<void()> && callable,
if (last_attempt || !is_retriable)
{
if (!mute_logging)
LOG_ERROR(log,
LOG_DEBUG(log,
"Failed to make request to '{}'{}. "
"Error: '{}'. "
"Failed at try {}/{}.",
@ -361,7 +361,7 @@ void ReadWriteBufferFromHTTP::doWithRetries(std::function<void()> && callable,
on_retry();
if (!mute_logging)
LOG_INFO(log,
LOG_TRACE(log,
"Failed to make request to '{}'{}. "
"Error: {}. "
"Failed at try {}/{}. "