Skip to content

Commit 3360b0f

Browse files
authored
Reduce log level of redis channel to debug (sonic-net#790)
Reduce log level of redis channel 'wait' to debug
1 parent 08d338a commit 3360b0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/RedisChannel.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ sai_status_t RedisChannel::wait(
175175

176176
while (true)
177177
{
178-
SWSS_LOG_INFO("wait for %s response", command.c_str());
178+
SWSS_LOG_DEBUG("wait for %s response", command.c_str());
179179

180180
swss::Selectable *sel;
181181

@@ -188,7 +188,7 @@ sai_status_t RedisChannel::wait(
188188
const std::string &op = kfvOp(kco);
189189
const std::string &opkey = kfvKey(kco);
190190

191-
SWSS_LOG_INFO("response: op = %s, key = %s", opkey.c_str(), op.c_str());
191+
SWSS_LOG_DEBUG("response: op = %s, key = %s", opkey.c_str(), op.c_str());
192192

193193
if (op != command)
194194
{

0 commit comments

Comments
 (0)