Skip to content

Commit 7d69e9e

Browse files
Daniel-Robbinsauxten
authored andcommitted
Lower the log level of "Lowered xxx cache size"
1 parent 7241d99 commit 7d69e9e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

programs/local/LocalServer.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ void LocalServer::processConfig()
689689
if (uncompressed_cache_size > max_cache_size)
690690
{
691691
uncompressed_cache_size = max_cache_size;
692-
LOG_INFO(log, "Lowered uncompressed cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
692+
LOG_DEBUG(log, "Lowered uncompressed cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
693693
}
694694
global_context->setUncompressedCache(uncompressed_cache_policy, uncompressed_cache_size, uncompressed_cache_size_ratio);
695695

@@ -701,7 +701,7 @@ void LocalServer::processConfig()
701701
if (mark_cache_size > max_cache_size)
702702
{
703703
mark_cache_size = max_cache_size;
704-
LOG_INFO(log, "Lowered mark cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(mark_cache_size));
704+
LOG_DEBUG(log, "Lowered mark cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(mark_cache_size));
705705
}
706706
global_context->setMarkCache(mark_cache_policy, mark_cache_size, mark_cache_size_ratio);
707707

@@ -711,7 +711,7 @@ void LocalServer::processConfig()
711711
if (index_uncompressed_cache_size > max_cache_size)
712712
{
713713
index_uncompressed_cache_size = max_cache_size;
714-
LOG_INFO(log, "Lowered index uncompressed cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
714+
LOG_DEBUG(log, "Lowered index uncompressed cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
715715
}
716716
global_context->setIndexUncompressedCache(index_uncompressed_cache_policy, index_uncompressed_cache_size, index_uncompressed_cache_size_ratio);
717717

@@ -721,15 +721,15 @@ void LocalServer::processConfig()
721721
if (index_mark_cache_size > max_cache_size)
722722
{
723723
index_mark_cache_size = max_cache_size;
724-
LOG_INFO(log, "Lowered index mark cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
724+
LOG_DEBUG(log, "Lowered index mark cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
725725
}
726726
global_context->setIndexMarkCache(index_mark_cache_policy, index_mark_cache_size, index_mark_cache_size_ratio);
727727

728728
size_t mmap_cache_size = config().getUInt64("mmap_cache_size", DEFAULT_MMAP_CACHE_MAX_SIZE);
729729
if (mmap_cache_size > max_cache_size)
730730
{
731731
mmap_cache_size = max_cache_size;
732-
LOG_INFO(log, "Lowered mmap file cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
732+
LOG_DEBUG(log, "Lowered mmap file cache size to {} because the system has limited RAM", formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
733733
}
734734
global_context->setMMappedFileCache(mmap_cache_size);
735735

0 commit comments

Comments
 (0)