Skip to content

Commit

Permalink
[syncd]: Remove SWSS_LOG_TIMER and update log level (sonic-net#188)
Browse files Browse the repository at this point in the history
- Remove counter collection timer
- Change counter thread log to INFO
  • Loading branch information
Shuotian Cheng authored May 30, 2017
1 parent 7acacf3 commit d3a30ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions syncd/syncd_counters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ void collectCounters(swss::Table &countersTable,

SWSS_LOG_ENTER();

SWSS_LOG_TIMER("get counters");

uint32_t countersSize = (uint32_t)supportedCounters.size();

std::vector<uint64_t> counters;
Expand Down Expand Up @@ -136,10 +134,10 @@ void endCountersThread()

if (g_countersThread != NULL)
{
SWSS_LOG_NOTICE("counters thread join");
SWSS_LOG_INFO("counters thread join");

g_countersThread->join();
}

SWSS_LOG_NOTICE("counters thread ended");
SWSS_LOG_INFO("counters thread ended");
}

0 comments on commit d3a30ba

Please sign in to comment.