From 4af0a8b1f0aa01ac89b1a6452ca663cac39e28fc Mon Sep 17 00:00:00 2001 From: Sonic Build Admin Date: Wed, 21 Jan 2026 17:31:57 +0000 Subject: [PATCH] Adjust disable logging into debug level to avoid log spawn Work item tracking Microsoft ADO (number only):27184382 Adjust disable logging into debug level to avoid log spawn Why I did it disable logging will increase which spawn the syslog potential How I did it change this logging into debug level How to verify it ![image](https://github.com/user-attachments/assets/244ee85c-b56f-401c-bc34-17a5cd14ad1c) --- Server/src/RedisManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/RedisManager.cpp b/Server/src/RedisManager.cpp index 7035c7e..0f7e2dd 100644 --- a/Server/src/RedisManager.cpp +++ b/Server/src/RedisManager.cpp @@ -61,7 +61,7 @@ std::string RedisManager::GetKeySeparator() { bool RedisManager::WriteBMPTable(const std::string& table, const std::vector& keys, const std::vector fieldValues) { if (enabledTables_.find(table) == enabledTables_.end()) { - LOG_INFO("RedisManager %s is disabled", table.c_str()); + DEBUG("RedisManager %s is disabled", table.c_str()); return false; } std::unique_ptr stateBMPTable = std::make_unique(stateDb_.get(), table); @@ -160,4 +160,4 @@ void RedisManager::ResetAllTables() { for (const auto& enabledTable : enabledTables_) { ResetBMPTable(enabledTable); } -} \ No newline at end of file +}