Skip to content

Commit

Permalink
Reduce log level of redis channel to debug (sonic-net#790)
Browse files Browse the repository at this point in the history
Reduce log level of redis channel 'wait' to debug
  • Loading branch information
prsunny authored Feb 5, 2021
1 parent 08d338a commit 3360b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/RedisChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ sai_status_t RedisChannel::wait(

while (true)
{
SWSS_LOG_INFO("wait for %s response", command.c_str());
SWSS_LOG_DEBUG("wait for %s response", command.c_str());

swss::Selectable *sel;

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

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

if (op != command)
{
Expand Down

0 comments on commit 3360b0f

Please sign in to comment.