mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Moved useless S3 logging to TRACE level.
This commit is contained in:
parent
8b2a5d81df
commit
a541683efa
@ -106,7 +106,7 @@ void PocoHTTPClient::MakeRequestInternal(
|
||||
|
||||
if (request.GetContentBody())
|
||||
{
|
||||
LOG_DEBUG(log, "Writing request body.");
|
||||
LOG_TRACE(log, "Writing request body.");
|
||||
if (attempt > 0) /// rewind content body buffer.
|
||||
{
|
||||
request.GetContentBody()->clear();
|
||||
@ -116,7 +116,7 @@ void PocoHTTPClient::MakeRequestInternal(
|
||||
LOG_DEBUG(log, "Written {} bytes to request body", size);
|
||||
}
|
||||
|
||||
LOG_DEBUG(log, "Receiving response...");
|
||||
LOG_TRACE(log, "Receiving response...");
|
||||
auto & response_body_stream = session->receiveResponse(poco_response);
|
||||
|
||||
int status_code = static_cast<int>(poco_response.getStatus());
|
||||
|
@ -31,7 +31,7 @@ const std::pair<DB::LogsLevel, Poco::Message::Priority> & convertLogLevel(Aws::U
|
||||
{Aws::Utils::Logging::LogLevel::Error, {DB::LogsLevel::error, Poco::Message::PRIO_ERROR}},
|
||||
{Aws::Utils::Logging::LogLevel::Warn, {DB::LogsLevel::warning, Poco::Message::PRIO_WARNING}},
|
||||
{Aws::Utils::Logging::LogLevel::Info, {DB::LogsLevel::information, Poco::Message::PRIO_INFORMATION}},
|
||||
{Aws::Utils::Logging::LogLevel::Debug, {DB::LogsLevel::debug, Poco::Message::PRIO_DEBUG}},
|
||||
{Aws::Utils::Logging::LogLevel::Debug, {DB::LogsLevel::trace, Poco::Message::PRIO_TRACE}},
|
||||
{Aws::Utils::Logging::LogLevel::Trace, {DB::LogsLevel::trace, Poco::Message::PRIO_TRACE}},
|
||||
};
|
||||
return mapping.at(log_level);
|
||||
|
Loading…
Reference in New Issue
Block a user