From 0fd9740c72037aa157253efdf571407b50f00c10 Mon Sep 17 00:00:00 2001 From: Nikita Taranov Date: Sun, 1 May 2022 12:54:54 +0200 Subject: [PATCH] Log hash table's cache messages with TRACE level (#36830) --- src/Interpreters/Aggregator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Interpreters/Aggregator.cpp b/src/Interpreters/Aggregator.cpp index 45665e1e863..a21c1e81a6a 100644 --- a/src/Interpreters/Aggregator.cpp +++ b/src/Interpreters/Aggregator.cpp @@ -68,7 +68,7 @@ public: const auto cache = getHashTableStatsCache(params, lock); if (const auto hint = cache->get(params.key)) { - LOG_DEBUG( + LOG_TRACE( &Poco::Logger::get("Aggregator"), "An entry for key={} found in cache: sum_of_sizes={}, median_size={}", params.key, @@ -92,7 +92,7 @@ public: if (!hint || sum_of_sizes < hint->sum_of_sizes / 2 || hint->sum_of_sizes < sum_of_sizes || median_size < hint->median_size / 2 || hint->median_size < median_size) { - LOG_DEBUG( + LOG_TRACE( &Poco::Logger::get("Aggregator"), "Statistics updated for key={}: new sum_of_sizes={}, median_size={}", params.key,